Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1084 closed task (fixed)

Revise populate_geometry_columns and AddGeometryColumns to have optional use_typmod argument (typmod support)

Reported by: robe Owned by: robe
Priority: critical Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
Keywords: history Cc:

Description

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.

Change History (2)

comment:1 Changed 8 years ago by robe

Resolution: fixed
Status: newclosed

Done at r7548

comment:2 Changed 8 years ago by robe

Keywords: history added
Note: See TracTickets for help on using tickets.