[postgis-tickets] [PostGIS] #3373: ALTER DOMAIN missing from topology_upgrade

PostGIS trac at osgeo.org
Sat Nov 21 00:25:53 PST 2015


#3373: ALTER DOMAIN missing from topology_upgrade
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.2.1
 Component:  topology  |    Version:  2.2.x
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 Ok one reason to strip the ALTER is that some of the ALTERs in there are
 for adding constraints, and fail if the constraint already exists. I guess
 the topology script could be changed to account for that, or otherwise it
 would be impossible for an upgrade to add or drop a constraint...

 DROP .. IF EXISTS .. is only available starting with PostgreSQL 9.2 though

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3373#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