[postgis-tickets] [PostGIS] #2147: error when updating postgis_topology extension

PostGIS trac at osgeo.org
Tue Dec 11 20:52:06 PST 2012


#2147: error when updating postgis_topology extension
-----------------------------------+----------------------------------------
 Reporter:  kyngchaos              |       Owner:  robe         
     Type:  defect                 |      Status:  new          
 Priority:  critical               |   Milestone:  PostGIS 2.0.3
Component:  build/upgrade/install  |     Version:  2.0.x        
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by robe):

 kyngchaos,

 I think there might be an easy fix for this.  I think I had put in this
 sed stripping at the time before strk had created an upgrade script for
 topology and I needed it to allow extensions to upgrade since extensions
 need to complete without error since they are wrapped in a transaction.
 Being fearful of anything with the word Perl in it, my preferred poison of
 choice was sed.

 I see the one in topology folder Makefile.in uses perl instead of sed, but
 does essentially the same thing.  Can you confirm that the
 topopolgy_upgrade_20_minor.sql generated by topology/Makefile looks okay
 (stripped of create table etc?)

 If so I guess I can copy the generated file from that (which I should be
 doing anyway like I do with postgis extension), and then tack on the extra
 extension logic.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2147#comment:8>
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