[postgis-devel] [PostGIS] #1822: topology won't install on PostgreSQL 9.2beta1

PostGIS trac at osgeo.org
Thu Jun 7 04:59:41 PDT 2012


#1822: topology won't install on PostgreSQL 9.2beta1
-----------------------+----------------------------------------------------
  Reporter:  robe      |       Owner:  strk         
      Type:  defect    |      Status:  reopened     
  Priority:  blocker   |   Milestone:  PostGIS 2.0.1
 Component:  topology  |     Version:  2.0.x        
Resolution:            |    Keywords:               
-----------------------+----------------------------------------------------

Comment(by robe):

 Well my postgis_config.h reads:

 #define POSTGIS_PGSQL_VERSION 921

 but 921 is still greater than 91 so it should be picking up the setting,
 but the generated topology.sql doesn't have IF EXISTS in it.

 Perhaps the topology.sql.in.c is not picking up the POSTGIS_PGSQL_VERSION.
 Doesn't it need an include like postgis.sql.in.c has.

 #include "sqldefines.h"

  It's quite possible I didn't test this after you made the change in
 2.0.1.  I do see that the fix is in place though just not working.

 The generated topology/Makefile shows

 POSTGIS_PGSQL_VERSION=921

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