[PostGIS] #3033: FID column name option

PostGIS trac at osgeo.org
Sun Jun 21 11:30:42 PDT 2026


#3033: FID column name option
----------------------------------+-----------------------------
  Reporter:  mohayemin            |      Owner:  robe
      Type:  enhancement          |     Status:  closed
  Priority:  medium               |  Milestone:  PostGIS Fund Me
 Component:  utils/loader-dumper  |    Version:  2.1.x
Resolution:  fixed                |   Keywords:
----------------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"1b74f201374035483b1d9e53f0fa4d981349f78b/git" 1b74f20/git]:
 {{{#!CommitTicketReference repository="git"
 revision="1b74f201374035483b1d9e53f0fa4d981349f78b"
 Allow custom shp2pgsql feature id column

 Add shp2pgsql -f/--feature-id-column so callers can choose the generated
 feature id column name instead of always using gid.

 Validate the configured column name before generating SQL, and keep
 escaping source gid attributes to __gid so default pgsql2shp round trips
 do not silently drop them.

 Closes #3033

 Closes https://github.com/postgis/postgis/pull/1022
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3033#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list