Ticket #544 (closed defect: wontfix)
PostGIS Provider fails to return autogenerated ID from insert feature reader
| Reported by: | oresthalustchak | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 3.6.0 |
| Component: | PostGIS Provider | Version: | 3.4.0 |
| Severity: | 3 | Keywords: | |
| Cc: | External ID: |
Description
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:
gid serial NOT NULL
Trying to read the auto-generated gid value from the insert feature reader results in the following exception:
Invalid property value name 'gid'.
Change History
Note: See
TracTickets for help on using
tickets.
