<?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: PostgreSQL Question in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284097#M16299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find a fix to this? We are encountering the exact same issue, when running Identity_analysis from arcpy. PostgreSQL 10.3 and ArcGIS Deskotp 10.6.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2019 10:51:21 GMT</pubDate>
    <dc:creator>SilvioDa_Silva</dc:creator>
    <dc:date>2019-03-26T10:51:21Z</dc:date>
    <item>
      <title>PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284091#M16293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shot in the dark here. Does anyone know why I would be getting the following postgresql log error? I have an enterprise geodatabase loaded on postgresql on linux and I get this error even when doing a simple editing task for more than ten minutes or so. The feature class I create then get's corrupted and crashes arccatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2019-01-23 13:34:02.425 MST [8901] LOG: execute sde_1548275642_3809_161: DECLARE sdecur_3809_161 BINARY CURSOR WITH HOLD FOR select V__68.shape , V__68.objectid from (SELECT /* ArcSDE NORMAL_FILTER */ b.objectid,b.shape FROM ugssde.sde.forfun b WHERE NOT EXISTS (SELECT * FROM ( SELECT SDE_DELETES_ROW_ID,SDE_STATE_ID FROM sde.d68, sde.sde_state_lineages l WHERE SDE_STATE_ID = 0 AND DELETED_AT = l.lineage_id AND l.lineage_name = $1 AND l.lineage_id &amp;lt;= $2 ) d WHERE b.objectid = d.SDE_DELETES_ROW_ID ) UNION ALL SELECT a.objectid,a.shape FROM sde.a68 a INNER JOIN sde.sde_state_lineages l ON a.SDE_STATE_ID = l.lineage_id WHERE NOT EXISTS (SELECT * FROM ( SELECT SDE_DELETES_ROW_ID,SDE_STATE_ID FROM sde.d68, sde.sde_state_lineages l WHERE DELETED_AT = l.lineage_id AND l.lineage_name = $3 AND l.lineage_id &amp;lt;= $4 ) d WHERE (a.objectid = d.SDE_DELETES_ROW_ID) AND (a.SDE_STATE_ID = d.SDE_STATE_ID) ) AND (l.lineage_name = $5 AND l.lineage_id &amp;lt;= $6) ) V__68 where ((V__68.shape &amp;amp;&amp;amp; $7) = 't') &lt;BR /&gt;2019-01-23 13:34:02.425 MST [8901] DETAIL: parameters: $1 = '230', $2 = '255', $3 = '230', $4 = '255', $5 = '230', $6 = '255', $7 = '380000000500000008001000110F0000200000000000000092AAF9B6A4049DE28EAFB11482CCBF02000082CCBF02C2CCBF020000C2CCBF02'&lt;BR /&gt;2019-01-23 13:34:02.432 MST [30562] LOG: server process (PID 8901) was terminated by signal 11: Segmentation fault&lt;BR /&gt;2019-01-23 13:34:02.432 MST [30562] DETAIL: Failed process was running: DECLARE sdecur_3809_161 BINARY CURSOR WITH HOLD FOR select V__68.shape , V__68.objectid from (SELECT /* ArcSDE NORMAL_FILTER */ b.objectid,b.shape FROM ugssde.sde.forfun b WHERE NOT EXISTS (SELECT * FROM ( SELECT SDE_DELETES_ROW_ID,SDE_STATE_ID FROM sde.d68, sde.sde_state_lineages l WHERE SDE_STATE_ID = 0 AND DELETED_AT = l.lineage_id AND l.lineage_name = $1 AND l.lineage_id &amp;lt;= $2 ) d WHERE b.objectid = d.SDE_DELETES_ROW_ID ) UNION ALL SELECT a.objectid,a.shape FROM sde.a68 a INNER JOIN sde.sde_state_lineages l ON a.SDE_STATE_ID = l.lineage_id WHERE NOT EXISTS (SELECT * FROM ( SELECT SDE_DELETES_ROW_ID,SDE_STATE_ID FROM sde.d68, sde.sde_state_lineages l WHERE DELETED_AT = l.lineage_id AND l.lineage_name = $3 AND l.lineage_id &amp;lt;= $4 ) d WHERE (a.objectid = d.SDE_DELETES_ROW_ID) AND (a.SDE_STATE_ID = d.SDE_STATE_ID) ) AND (l.lineage_name = $5 AND l.lineage_id &amp;lt;= $6) ) V__68 where ((V__68.shape &amp;amp;&amp;amp; $7) = 't') &lt;BR /&gt;2019-01-23 13:34:02.432 MST [30562] LOG: terminating any other active server processes&lt;BR /&gt;2019-01-23 13:34:02.433 MST [792] WARNING: terminating connection because of crash of another server process&lt;BR /&gt;2019-01-23 13:34:02.433 MST [792] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.&lt;BR /&gt;2019-01-23 13:34:02.433 MST [792] HINT: In a moment you should be able to reconnect to the database and repeat your command.&lt;BR /&gt;2019-01-23 13:34:02.433 MST [22353] WARNING: terminating connection because of crash of another server process&lt;BR /&gt;2019-01-23 13:34:02.433 MST [22353] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.&lt;BR /&gt;2019-01-23 13:34:02.433 MST [22353] HINT: In a moment you should be able to reconnect to the database and repeat your command.&lt;BR /&gt;2019-01-23 13:34:02.434 MST [790] WARNING: terminating connection because of crash of another server process&lt;BR /&gt;2019-01-23 13:34:02.434 MST [790] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.&lt;BR /&gt;2019-01-23 13:34:02.434 MST [790] HINT: In a moment you should be able to reconnect to the database and repeat your command.&lt;BR /&gt;2019-01-23 13:34:02.442 MST [30562] LOG: all server processes terminated; reinitializing&lt;BR /&gt;2019-01-23 13:34:02.457 MST [12107] LOG: database system was interrupted; last known up at 2019-01-23 13:32:21 MST&lt;BR /&gt;2019-01-23 13:34:02.495 MST [12107] LOG: database system was not properly shut down; automatic recovery in progress&lt;BR /&gt;2019-01-23 13:34:02.496 MST [12107] LOG: redo starts at 0/BD9C2368&lt;BR /&gt;2019-01-23 13:34:02.497 MST [12107] LOG: invalid record length at 0/BD9E0E78: wanted 24, got 0&lt;BR /&gt;2019-01-23 13:34:02.497 MST [12107] LOG: redo done at 0/BD9E0D50&lt;BR /&gt;2019-01-23 13:34:02.497 MST [12107] LOG: last completed transaction was at log time 2019-01-23 13:33:51.462835-07&lt;BR /&gt;2019-01-23 13:34:02.508 MST [30562] LOG: database system is ready to accept connections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284091#M16293</guid>
      <dc:creator>MarshallRobinson</dc:creator>
      <dc:date>2019-01-23T21:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284092#M16294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think a bit more information might help - which version of PostgreSQL is this (i.e., what is the result of s&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;elect version();&lt;/SPAN&gt;)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the specs of the machine? Is it just PostgreSQL installed on the machine? What is the Geodatabase version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284092#M16294</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2019-01-24T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284093#M16295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for looking into this, here is our environment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PostgreSQL 10.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28), 64-bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284093#M16295</guid>
      <dc:creator>MarshallRobinson</dc:creator>
      <dc:date>2019-01-24T20:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284094#M16296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, can you answer the other questions as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;What are the specs of the machine? Is it just PostgreSQL installed on the machine? What is the Geodatabase version?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Also, what is the version of the client you are editing with?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284094#M16296</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2019-01-24T20:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284095#M16297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is running on a linux server with 8gb RAM, 2 cores. It is not just postgresql installed. Python/Apache/PHP are also installed on the server. The geodatabase version is 10.6.1 (release: 106101 sdesvr_rel_low: 93001). I'm using ArcMap 10.6.1 to edit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284095#M16297</guid>
      <dc:creator>MarshallRobinson</dc:creator>
      <dc:date>2019-01-24T20:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284096#M16298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another error that ArcMap 10.6.1 and ArcGIS Pro 2.3 says. It happens when I try to refresh the connection to the sde after the edit session stops working and all of the features disappear:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Underlying DBMS error [no connection to the server&lt;BR /&gt;::SQLSTATE=] [sdename.sde.GDB_Items]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284096#M16298</guid>
      <dc:creator>MarshallRobinson</dc:creator>
      <dc:date>2019-01-24T22:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284097#M16299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find a fix to this? We are encountering the exact same issue, when running Identity_analysis from arcpy. PostgreSQL 10.3 and ArcGIS Deskotp 10.6.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 10:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284097#M16299</guid>
      <dc:creator>SilvioDa_Silva</dc:creator>
      <dc:date>2019-03-26T10:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284098#M16300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we encountered the same problem with our PostgreSQL 10.3 and ArcGIS Deskotp 10.6.1.&lt;BR /&gt;Is somebody figured something out, or found a workaround to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 13:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284098#M16300</guid>
      <dc:creator>AndreasWalter</dc:creator>
      <dc:date>2020-02-20T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284099#M16301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried 10.7.1?&lt;BR /&gt;I do not know if we have just encounterd the same problem, but (with ArcGIS/geodatabase 10.6.1 on PostgreSQL 10 on RHEL 6.9) some feature classes (not all feature classes) could not be displayed by ArcMAP/ArcCatalog &lt;BR /&gt;It always ended with disconnect of all postgresql connections and same error message appeared in postgresql log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our case problem was in following spatial selection using sde.&amp;amp;&amp;amp;&amp;nbsp; st_geometry operator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;select&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; sdedo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;zus_technologie t
&lt;SPAN class="keyword token"&gt;where&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;t&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shape &lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'400000000500000008001000E19304002800000000000000A9F0C09BCCFFFF0FB8F7DDB0AEFFFF0F8C86B9AA08000086D29FE10ACC86B9AA080000C6D29FE10A'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but following simillar selection using just sde.st_geo_overlap function worked fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;select&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; sdedo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;zus_technologie t
&lt;SPAN class="keyword token"&gt;where&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geo_overlap&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;t&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shape&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'400000000500000008001000E19304002800000000000000A9F0C09BCCFFFF0FB8F7DDB0AEFFFF0F8C86B9AA08000086D29FE10ACC86B9AA080000C6D29FE10A'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;difference between sde.&amp;amp;&amp;amp; operator and function sde.st_geo_overlap is in additional calls of RESTRIC/JOIN functions that are used to calculate selectivity for postgresql optimizer for &amp;amp;&amp;amp; operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see operator definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;CREATE&lt;/SPAN&gt; OPERATOR sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;PROCEDURE&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geo_overlap&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    LEFTARG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geometry&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    RIGHTARG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geometry&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    COMMUTATOR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; OPERATOR&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;RESTRICT&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geom_gist_sel&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;JOIN&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geom_gist_joinsel
&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The one that seemed to be problematic in our case was function sde.st_geom_gist_sel.&lt;BR /&gt;It is a function that references st_geo_gist_sel in st_geometry.so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried to do following test (please do not take it as a recommended solution):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put 10.7.1 st_geometry.so in postgresql/lib directory (changed name to st_geometry_1071.so there was already 10.6.1 st_geometry.so) and&lt;BR /&gt;changed function sde.st_geom_gist_sel to reference same function but in new 10.7.1 library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;OR&lt;/SPAN&gt; REPLACE &lt;SPAN class="keyword token"&gt;FUNCTION&lt;/SPAN&gt; sde&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;st_geom_gist_sel&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;internal&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; oid&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; internal&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;integer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;RETURNS&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;double precision&lt;/SPAN&gt;
    LANGUAGE &lt;SPAN class="number token"&gt;c&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;AS&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'st_geometry_1071'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'st_geo_gist_sel'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and problem was gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would say that our problem was solved in st_geometry.so of 10.7.1 (Maybe your problem was solved there too)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284099#M16301</guid>
      <dc:creator>MartinKrál</dc:creator>
      <dc:date>2021-12-11T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284100#M16302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is probably the official way how to solve it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS (Desktop, Engine, Server) 10.6.1 PostgreSQL Performance and Version 10 Support Patch&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/products/desktop/arcgis-desktop/arcmap/10-6#downloads?id=7664" title="https://support.esri.com/en/products/desktop/arcgis-desktop/arcmap/10-6#downloads?id=7664"&gt;Esri Support ArcMap 10.6 (10.6.1)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see:&lt;/P&gt;&lt;P&gt;BUG-000115897 - Polygon and Line Feature Classes imported into PostgreSQL 10.3+ using the Feature Class to Feature Class tool fail to draw and throw "Failure to access the DBMS server" error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 15:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284100#M16302</guid>
      <dc:creator>MartinKrál</dc:creator>
      <dc:date>2020-02-25T15:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284101#M16303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for the reply! Yes, we encountered exactly the same failure / problematic. I'll try your "no recommended solution" for a test run, and take this into count for my consideration for upgrading to 10.7.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 07:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284101#M16303</guid>
      <dc:creator>AndreasWalter</dc:creator>
      <dc:date>2020-02-26T07:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284102#M16304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks you for your answer! As I can see, the BUG-000115897 was fixed in the 10.7.1, so I guess I have to updgrade ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 07:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284102#M16304</guid>
      <dc:creator>AndreasWalter</dc:creator>
      <dc:date>2020-02-26T07:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL Question</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284103#M16305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can check that 10.6.1 PostgreSQL Performance and Version 10 Support Patch&amp;nbsp; first. That 10.6.1 patch solved our problem here too, so I think there is no need to upgrade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 07:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-question/m-p/284103#M16305</guid>
      <dc:creator>MartinKrál</dc:creator>
      <dc:date>2020-02-26T07:33:48Z</dc:date>
    </item>
  </channel>
</rss>

