<?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 'Not NULL' field properties not being honored by arcgis 10.1 clients? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/postgresql-not-null-field-properties-not-being/m-p/590162#M33323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Look &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002200000002000000"&gt;here:&lt;/A&gt;&lt;SPAN&gt; . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is said that: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The geodatabase model is such that it will insert an empty value (numeric = 0, text = "") instead of a database NULL if, and only if, the field has a NOT NULL constraint on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should try to create another constraint on that field. I recommend this: CHECK char_length(field) &amp;gt; number_of_characters. It works using AGS 10.1.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam Nicinski&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2013 17:01:06 GMT</pubDate>
    <dc:creator>nita14</dc:creator>
    <dc:date>2013-07-04T17:01:06Z</dc:date>
    <item>
      <title>Postgresql 'Not NULL' field properties not being honored by arcgis 10.1 clients?</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-not-null-field-properties-not-being/m-p/590161#M33322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Postgresql working okay, new (or copied) feature classes working okay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; On existing postgresql tables, when I 'register with geodatabase', the postgresql 'Not NULL'&amp;nbsp; field properties are being ignored. Using ArcMAP, with a 'direct connect' database connection, all fields show 'Allow NULL values' = No??? Has anyone else seen this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note - postgresql's PGAdmin shows table structure as not being changed, it is the same as before arcmap looked at it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an experiment,&amp;nbsp; I created a table in arcmap using toolkit, added some fields with same name as in an existing postgresql table, setting 'Field IsNullable' and 'Field IsRequired' as wanted,&amp;nbsp; used the append tool (general) to add some data, and the new table works correctly (as expected).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.1 for Desktop, ArcSDE 10.1, ArcGIS for Server are all using SP1, data connection shows no geodatabase update needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else having trouble with existing postgresql tables using arcmap 10.1 sp1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 18:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-not-null-field-properties-not-being/m-p/590161#M33322</guid>
      <dc:creator>MarkReidy</dc:creator>
      <dc:date>2013-04-22T18:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Postgresql 'Not NULL' field properties not being honored by arcgis 10.1 clients?</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-not-null-field-properties-not-being/m-p/590162#M33323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Look &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002200000002000000"&gt;here:&lt;/A&gt;&lt;SPAN&gt; . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is said that: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The geodatabase model is such that it will insert an empty value (numeric = 0, text = "") instead of a database NULL if, and only if, the field has a NOT NULL constraint on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should try to create another constraint on that field. I recommend this: CHECK char_length(field) &amp;gt; number_of_characters. It works using AGS 10.1.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam Nicinski&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 17:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-not-null-field-properties-not-being/m-p/590162#M33323</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2013-07-04T17:01:06Z</dc:date>
    </item>
  </channel>
</rss>

