[postgis-devel] [PostGIS] #1499: topology regression tests fail creating already-present schema

PostGIS trac at osgeo.org
Wed Jan 25 16:11:29 PST 2012


#1499: topology regression tests fail creating already-present schema
----------------------+-----------------------------------------------------
 Reporter:  gdt       |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 With r8916, pgsql 9.1.2 on NetBSD/i386 5ish, the topology tests pass on
 the first pass, and then fail to upgrade:

 {{{
 Upgrading topology

  Something went wrong during db initialization (topology upgrade).
  For details, check /tmp/pgis_reg_1268/regress_log

 gmake[1]: *** [check] Error 1
 }}}

 In the log:
 {{{
 psql:/home/gdt/SOFTWARE/POSTGIS/postgis/regress/00-regress-
 install/share/contrib/postgis/topology_upgrade_20_minor.sql:212: ERROR:
 schema "topology" already exists
 }}}

 I tried commenting out the drop schema statement, but that caused it
 to happen during installation, which also failed.  So it seems upgrade
 needs to cope with the schema already being present.

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