<?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: Cannot register postgres table in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1220253#M7937</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt; , yes, it will recognize it, which is a desired behaviour. But still: if the SHAPE column is set to NOT NULL, the process itself is not working and giving the above error message. It would be VERY good to rewrite the error message and tell the user:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SHAPE column must not have a NOT NULL constraint&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The column must not have a NOT NULL constraint&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 06:31:14 GMT</pubDate>
    <dc:creator>RiccardoKlinger</dc:creator>
    <dc:date>2022-10-10T06:31:14Z</dc:date>
    <item>
      <title>Cannot register postgres table</title>
      <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219804#M7930</link>
      <description>&lt;P&gt;Dear ESRI Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have some tables in our postgres database. the tables were creted like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE IF NOT EXISTS gd_base.polygon&lt;BR /&gt;(&lt;BR /&gt;objectid integer NOT NULL,&lt;BR /&gt;name character varying(255) COLLATE pg_catalog."default",&lt;BR /&gt;shape geometry(Polygon,32632) NOT NULL,&lt;BR /&gt;status integer NOT NULL,&lt;BR /&gt;created_user character varying(255) COLLATE pg_catalog."default",&lt;BR /&gt;created_date timestamp without time zone,&lt;BR /&gt;last_edited_user character varying(255) COLLATE pg_catalog."default",&lt;BR /&gt;last_edited_date timestamp without time zone,&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Unfortunately we face an issue as it states:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RiccardoKlinger_0-1665148482809.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53072i2717C58DCA397C2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RiccardoKlinger_0-1665148482809.png" alt="RiccardoKlinger_0-1665148482809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After, I have dropped the NOT NULL constraint using dataGrip and retried the same process it was resulting in the same issue. But the column was again marked with "NOT NULL".&lt;/P&gt;&lt;P&gt;After that I also removed the objectid column from the table and rerun the process, leaving the field to be used as objectid empty.&lt;/P&gt;&lt;P&gt;The same problem appeared. We are lost...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried with ArcGIS Por 2.9/2.8 Arcmap 10.8.1, ArcPY running on postgres12 with postgis and sde extension.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 13:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219804#M7930</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2022-10-07T13:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot register postgres table</title>
      <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219823#M7932</link>
      <description>&lt;P&gt;If someone faces similar problems:&lt;/P&gt;&lt;P&gt;We've removed the "NOT NULL" constraint from the shape column and it is now working. We can register our tables with an already defined objectid column and with no defined objectid column.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 13:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219823#M7932</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2022-10-07T13:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot register postgres table</title>
      <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219837#M7933</link>
      <description>&lt;P&gt;the answer was given in this&amp;nbsp; thread:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/geodatabase-questions/register-view-with-geodatabase-not-null-constraint/m-p/1027571#M6966" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/geodatabase-questions/register-view-with-geodatabase-not-null-constraint/m-p/1027571#M6966&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Oct 2022 14:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1219837#M7933</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2022-10-07T14:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot register postgres table</title>
      <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1220223#M7936</link>
      <description>&lt;P&gt;If you use&amp;nbsp;&lt;FONT face="courier new,courier"&gt;objectid serial NOT NULL&lt;/FONT&gt;&amp;nbsp;in the table declaration, ArcGIS will know how to deal with it at registration.&lt;/P&gt;&lt;P&gt;- V&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 01:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1220223#M7936</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2022-10-10T01:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot register postgres table</title>
      <link>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1220253#M7937</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt; , yes, it will recognize it, which is a desired behaviour. But still: if the SHAPE column is set to NOT NULL, the process itself is not working and giving the above error message. It would be VERY good to rewrite the error message and tell the user:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SHAPE column must not have a NOT NULL constraint&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The column must not have a NOT NULL constraint&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 06:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/cannot-register-postgres-table/m-p/1220253#M7937</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2022-10-10T06:31:14Z</dc:date>
    </item>
  </channel>
</rss>

