[postgis-devel] [PostGIS] #403: pgsql2shp gives deceptive message about not having PostGIS installed

PostGIS trac at osgeo.org
Tue Feb 2 06:16:30 PST 2010


#403: pgsql2shp gives deceptive message about not having PostGIS installed
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey       
     Type:  defect   |      Status:  new           
 Priority:  medium   |   Milestone:  PostGIS Future
Component:  postgis  |     Version:  trunk         
 Keywords:           |  
---------------------+------------------------------------------------------
 If I use pgsql2shp on a database that doesn't have geography data type,
 you get this message

 Geometry type unknown (have you enabled postgis?)

 And then the system happily outputs the data.

 Seems to be the getGeographyOID at fault.  At the very least we should
 change the message to

 Geography type unknown

 Unless of course we don't allow people to output their older dbs with
 newer versions of the dumper.

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