[postgis-devel] [PostGIS] #1084: Revise populate_geometry_columns and AddGeometryColumns to have optional use_typmod argument (typmod support)

PostGIS trac at osgeo.org
Thu Jun 30 17:23:32 PDT 2011


#1084: Revise populate_geometry_columns and AddGeometryColumns to have optional
use_typmod argument (typmod support)
----------------------+-----------------------------------------------------
 Reporter:  robe      |       Owner:  robe         
     Type:  task      |      Status:  new          
 Priority:  critical  |   Milestone:  PostGIS 2.0.0
Component:  postgis   |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 The plan for these: again a continuation of #944

 1) They will no longer add/delete entries to the geometry_columns since
 that now reads from constraints and system catalogs

 2) They will have an options use_typmod which we will default to true.
 Anyone wanting the old constraint behavior will have to pass in a false
 for second argument.

 IF typmod is chosen, will create geometries using form

 ALTER TABLE ... ADD COLUMN geometry(PointZ,4326)  etc.

 If constraint is chosen, will do as before just creating an unadorned
 geometry with check constraints

 3) Will accept both old format name and Paul's new fangled names.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1084>
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-devel mailing list