Opened 14 years ago

Closed 14 years ago

Last modified 7 years ago

#403 closed defect (fixed)

pgsql2shp gives deceptive message about not having PostGIS installed

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS Fund Me
Component: postgis Version: master
Keywords: Cc:

Description

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.

Change History (2)

comment:1 by mcayland, 14 years ago

Resolution: fixed
Status: newclosed

This should now be fixed with the pgsql2shp rewrite in trunk.

comment:2 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.