<?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 Issue with sdetable on PostgreSQL in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472830#M26948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having an issue with sdetable on RHEL. I'd like to use sdetable to create some spatial views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used sdesetup to create and configure PostgreSQL GDBs on my Linux server, so I know I've installed SDE correctly and the .so libraries are in the correct locations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error I receive is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; Error: Underlying DBMS error (-51).
 Error: Could not create a connection on server gis, for user gisadmin.

Extended DBMS error code: -51
ERROR:&amp;nbsp; cross-database references are not implemented: "sde.sde.sde_server_config"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have the permissions wrong in the DB? Is there something misconfigured? The error is the same for any operation; I also tried creating the join using sdetable and then tried making the view in psql, then registering it with sdetable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For testing this out, I just wanted to make a view that is a subset of a larger parcel feature class. Here's what I'm putting in at the command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;sdetable -o create_view -T just_glassboro -t parcels -c * -w "mun = '0806'" -s gis.rowan.edu -D newjersey -u gisadmin&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, it fails with the error above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:54:26 GMT</pubDate>
    <dc:creator>JohnReiser</dc:creator>
    <dc:date>2021-12-11T20:54:26Z</dc:date>
    <item>
      <title>Issue with sdetable on PostgreSQL</title>
      <link>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472830#M26948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having an issue with sdetable on RHEL. I'd like to use sdetable to create some spatial views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used sdesetup to create and configure PostgreSQL GDBs on my Linux server, so I know I've installed SDE correctly and the .so libraries are in the correct locations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error I receive is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; Error: Underlying DBMS error (-51).
 Error: Could not create a connection on server gis, for user gisadmin.

Extended DBMS error code: -51
ERROR:&amp;nbsp; cross-database references are not implemented: "sde.sde.sde_server_config"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have the permissions wrong in the DB? Is there something misconfigured? The error is the same for any operation; I also tried creating the join using sdetable and then tried making the view in psql, then registering it with sdetable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For testing this out, I just wanted to make a view that is a subset of a larger parcel feature class. Here's what I'm putting in at the command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;sdetable -o create_view -T just_glassboro -t parcels -c * -w "mun = '0806'" -s gis.rowan.edu -D newjersey -u gisadmin&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, it fails with the error above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:54:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472830#M26948</guid>
      <dc:creator>JohnReiser</dc:creator>
      <dc:date>2021-12-11T20:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sdetable on PostgreSQL</title>
      <link>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472831#M26949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=36445"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=36445&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 19:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472831#M26949</guid>
      <dc:creator>VishalPahuja</dc:creator>
      <dc:date>2011-02-11T19:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sdetable on PostgreSQL</title>
      <link>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472832#M26950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems that if I specify the instance as "-i sde:postgresql:gis" everything is happy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked around for documentation on how SDE handles connections and I didn't see specifying it as such from the command line. Is there recent documentation on how ArcSDE handles connections? Re-reading through the documentation hasn't made things clearer for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Feb 2011 14:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472832#M26950</guid>
      <dc:creator>JohnReiser</dc:creator>
      <dc:date>2011-02-12T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sdetable on PostgreSQL</title>
      <link>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472833#M26951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That '-i' syntax is for a Direct Connect connection; Direct Connect success indicates that your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;application server (giomgr daemon, started by 'sdemon -o start') is configured incorrectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There isn't a whole lot of documentation on connections because there's not a lot of variation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;possible.&amp;nbsp; All commands (and the two APIs) take five parameters (server, instance, database,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user, password).&amp;nbsp; The database parameter is mostly unused, since modern ArcSDE instances&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are either linked to a single database or the RDBMS doesn't have them (Oracle).&amp;nbsp; The only&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;real variation is for Direct Connect, where the server is ignored, the instance changes to a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RDBMS-specific colon-delimited list (starting with "sde") and the password may require extra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters (on Oracle).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I'd urge you to contact Tech Support; they can help you with establishing the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correct parameters in $SDEHOME/etc/dbinit.sde so that this error is not generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Feb 2011 21:19:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/issue-with-sdetable-on-postgresql/m-p/472833#M26951</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-02-12T21:19:57Z</dc:date>
    </item>
  </channel>
</rss>

