<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: postgre enterprise SDE and arcmap - why do they open as query tables? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625577#M24066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The location of the data may be the issue, if it is in the SDE schema it should work. Be sure to review the documentation related to PostgreSQL and ArcGIS for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to open an &lt;A href="https://community.esri.com/group/1759"&gt;Esri Technical Support&lt;/A&gt;​ case to have them review this in more detail that we can in GeoNet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2016 14:05:08 GMT</pubDate>
    <dc:creator>George_Thompson</dc:creator>
    <dc:date>2016-06-02T14:05:08Z</dc:date>
    <item>
      <title>postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625574#M24063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've set up postgre /postgis and enterprise SDE. An example of my sql for setting up a table follows:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;CREATE TABLE bird_sighting (
&amp;nbsp;&amp;nbsp;&amp;nbsp; bird_id integer PRIMARY KEY,
&amp;nbsp;&amp;nbsp;&amp;nbsp; field_id integer REFERENCES field(field_ID),
&amp;nbsp;&amp;nbsp;&amp;nbsp; birdev_id integer REFERENCES bird_event(birdev_id),
&amp;nbsp;&amp;nbsp;&amp;nbsp; sight_date date NOT NULL CHECK(sight_date &amp;gt; '2016-05-01'),
&amp;nbsp;&amp;nbsp;&amp;nbsp; activity character varying (30),
&amp;nbsp;&amp;nbsp;&amp;nbsp; rel_location character varying (20),
&amp;nbsp;&amp;nbsp;&amp;nbsp; species character varying (40),
&amp;nbsp;&amp;nbsp;&amp;nbsp; geom geometry(Point, 26917) NOT NULL
&amp;nbsp;&amp;nbsp;&amp;nbsp; );
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open this feature class in ArcMap it opens up the "neq query layer" dialogue:&lt;BR /&gt;&lt;IMG alt="" class="image-1 jive-image" height="492" src="https://community.esri.com/legacyfs/online/206492_pastedImage_1.png" style="width: 540px; height: 492.118px;" width="540" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct? I thought that if I already defined the SRID and geometry type that this should already be populated?&lt;BR /&gt;Can someone explain to me why arcmap does this, or perhaps what I am doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:39:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625574#M24063</guid>
      <dc:creator>LaurenYee</dc:creator>
      <dc:date>2021-12-12T02:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625575#M24064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the table registered with the Geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you created within the PostgreSQL database and not via ArcGIS tools, then it is an unregistered table. That behavior would be expected with the pop up window and it appearing as a query layer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-postgresql/data-types-postgresql.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-postgresql/data-types-postgresql.htm"&gt;PostgreSQL data types supported in ArcGIS—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm"&gt;Registering a table with the geodatabase—ArcGIS Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/what-is-a-query-layer-.htm" title="http://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/what-is-a-query-layer-.htm"&gt;What is a query layer?—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 14:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625575#M24064</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2016-06-01T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625576#M24065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the "Create enterprise geodatabase tool" to create a DB in postgre. Then I used SQL to create my tables. In ArcCatalogue it won't let me register the feature classes or tables created in postgresql.&amp;nbsp; Is the geometry field created above okay?&amp;nbsp; We are also looking into the possibility that it seems the tables/features created in postgre are under the "public" schema not "sde". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 13:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625576#M24065</guid>
      <dc:creator>LaurenYee</dc:creator>
      <dc:date>2016-06-02T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625577#M24066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The location of the data may be the issue, if it is in the SDE schema it should work. Be sure to review the documentation related to PostgreSQL and ArcGIS for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to open an &lt;A href="https://community.esri.com/group/1759"&gt;Esri Technical Support&lt;/A&gt;​ case to have them review this in more detail that we can in GeoNet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 14:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625577#M24066</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2016-06-02T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625578#M24067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have reviewed the documentation and followed all of the steps, so I am currently at a loss as to what the issue is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 16:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625578#M24067</guid>
      <dc:creator>LaurenYee</dc:creator>
      <dc:date>2016-06-02T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625579#M24068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lauren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you successfully view the table in ArcCatalog's Catalog tree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 18:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625579#M24068</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2016-06-28T18:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: postgre enterprise SDE and arcmap - why do they open as query tables?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625580#M24069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the expected behavior.&amp;nbsp; Tables created via SQL are not registered (until you use sdelayer -o register).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I avoid the public schema, because data in public can't be registered (only the owner can register, and only in a schema that matches the login). Using the public schema for anything beyond granting general SELECT access also goes against best security practice.&amp;nbsp; No user tables should ever be created in the sde schema -- 'sde' should be reserved for geodatabase administration tasks alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 19:45:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/postgre-enterprise-sde-and-arcmap-why-do-they-open/m-p/625580#M24069</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2016-06-28T19:45:04Z</dc:date>
    </item>
  </channel>
</rss>

