[PostGIS] #5978: geometry_columns not showing right SRID and Type for constraint based geometry columns

PostGIS trac at osgeo.org
Fri Sep 5 12:29:42 PDT 2025


#5978: geometry_columns not showing right SRID and Type for constraint based
geometry columns
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  high     |  Milestone:  PostGIS 3.5.4
 Component:  postgis  |    Version:  3.5.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by pramsey):

 So, we have had typmod support for literally decades, but I guess the Esri
 code has never been updated, so it's still using the AddGeometryColumn
 shim. To make this right we are going to first have to revert #5829 and
 replace it with the discussed regexp fix instead. Then we are going to
 have to update AddGeometryColumn and associated friends to *not* create
 constraints anymore (why didn't we do this originally???) but to just use
 normal `CREATE TABLE` syntax with typmods.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5978#comment:2>
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