[GRASSLIST:1777] v.out.shape and PostGreSQL

Hi,

I'm trying to export vector files in 5.0.2 to shapefiles with dbf files from my postgres database. I know that v.out.shape specifying table and key is the way forward but my ODBC setup is broken - I get bus errors if I try to describe or list tables. I need to be able to set the database with db.select to use v.out.shape - can I point db.select to a postgres driver rather than ODBC (and in which case, what file am I looking for?) or do I need to fix my ODBC installation to get this to work? (Or should I just bite the bullet and install 5.7).

Thanks,
David

On Monday 17 November 2003 15:50, David Orme wrote:

Hi,

I'm trying to export vector files in 5.0.2 to shapefiles with dbf files
from my postgres database. I know that v.out.shape specifying table and
key is the way forward but my ODBC setup is broken - I get bus errors
if I try to describe or list tables. I need to be able to set the
database with db.select to use v.out.shape - can I point db.select to a
postgres driver rather than ODBC (and in which case, what file am I
looking for?) or do I need to fix my ODBC installation to get this to
work? (Or should I just bite the bullet and install 5.7).

Thanks,
David

Postgres driver is available in 5.7 only.

Radim