[postgis-devel] [PostGIS] #1708: postgis_restore not converting ndims and srid constraints to st_...

PostGIS trac at osgeo.org
Fri Mar 23 05:43:35 PDT 2012


#1708: postgis_restore not converting ndims and srid constraints to st_...
-----------------------------------+----------------------------------------
 Reporter:  robe                   |       Owner:  strk         
     Type:  defect                 |      Status:  new          
 Priority:  medium                 |   Milestone:  PostGIS 2.0.1
Component:  build/upgrade/install  |     Version:  trunk        
 Keywords:                         |  
-----------------------------------+----------------------------------------
 Strk - my tables that use the deprecated ndims, srid constraints checks
 won't load without me first installing legacy_minimal.sql

 Attached is an example backup.  I'm using ActiveState Perl64 if that makes
 a difference.

 my script looks like this:

 {{{
 set PGPORT=5434
 set PGHOST=localhost
 set PGUSER=postgres
 set PGPASSWORD=something
 set THEDB=test
 set PGINSTALL=C:\Program Files\PostgreSQL\9.1
 set PGBIN=%PGINSTALL%\bin\
 set PGLIB=%PGINSTALL%\lib\
 set PATH=%PATH%;%PGBIN%
 perl utils/postgis_restore.pl "restore_test.backup" | psql %THEDB% 2>
 errors_with_test.txt
 }}}

 The error file is empty.

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