[postgis-devel] [PostGIS] #1707: Regress on topology running make check - r9529

PostGIS trac at osgeo.org
Mon Mar 26 01:15:13 PDT 2012


#1707: Regress on topology running make check - r9529
----------------------+-----------------------------------------------------
 Reporter:  sindile   |       Owner:  strk         
     Type:  defect    |      Status:  assigned     
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by strk):

  * status:  new => assigned


Comment:

 Replying to [comment:6 sindile]:
 > >> cd topology/test
 >  >>../../regress/run_test --topology --nodrop -v
 regress/legacy_validate.sql
 ...
 > >>>show search_path;
 >
 >  search_path
 > -------------
 >  public
 > (1 row)

 Ok, there's a problem in there.

 Theoretically, loading topology/topology.sql in a newly created database
 should set search_path to be something like "public,topology".

 This seems to be not working for you.

 Part of the problem here could be that topology.sql isn't being wrapped in
 a single transaction so you may be facing an error during load w/out
 noticing.

 For next step I suggest you try to debug that part, so:

 {{{
 createdb testdb
 psql --set ON_ERROR_STOP=1 -f postgis/postgis.sql testdb
 psql --set ON_ERROR_STOP=1 -f topology/topology.sql testdb
 }}}

 Make sure topology was enabled at configure time (maybe drop
 topology/topology.sql and run "make" again to be sure).

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