Ticket #1084 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by robe

  • status changed from new to closed
  • resolution set to fixed

Done at r7548

Changed 2 years ago by robe

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