[fdo-trac] #544: PostGIS Provider fails to return autogenerated ID from insert feature reader

FDO trac_fdo at osgeo.org
Wed Aug 12 09:35:49 EDT 2009


#544: PostGIS Provider fails to return autogenerated ID from insert feature
reader
--------------------------------+-------------------------------------------
   Reporter:  oresthalustchak   |       Owner:       
       Type:  defect            |      Status:  new  
   Priority:  major             |   Milestone:  3.5.0
  Component:  PostGIS Provider  |     Version:  3.4.0
   Severity:  3                 |    Keywords:       
External_id:                    |  
--------------------------------+-------------------------------------------
 If you have a table with a serial type id column, it is treated as an
 auto-generated id property for the corresponding FDO feature class. When
 inserting a new feature, PostGIS auto-generates a new ID value. The FDO
 Insert command returns a feature reader that is supposed to return the
 value of the auto-generated ID.

 E.g. a table has this column:[[BR]]
   gid serial NOT NULL

 Trying to read the auto-generated gid value from the insert feature reader
 results in the following exception:[[BR]]
         Invalid property value name 'gid'.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/544>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list