[postgis-users] Re:pgsql2shp
Chris Hodgson
chodgson@refractions.net
Fri Sep 13 17:24:17 2002
This is a multi-part message in MIME format.
---------------------- multipart/alternative attachment
The command 'psql -d db' DOES NOT use TCP/IP sockets to connect to the =
db, it uses unix sockets (by default). Whereas, pgsql2shp DOES use =
TCP/IP sockets. Therefore, the advice that David Garnier gave you, still =
stands. Check your config, or start your database with the -i flag to =
allow tcp connections.
Chris
----- Original Message -----=20
From: Guido Staub=20
To: postgis-users@postgis.refractions.net=20
Sent: Friday, September 13, 2002 6:21 AM
Subject: [postgis-users] Re:pgsql2shp
What I wanted to say is, that=20
shp2pgsql shapefile table db | psql -d db=20
is running fine and uploading data is no problem. I don't get an error =
message about any TCP/IP problems.=20
So my problem still exists, that I can't get my data out of the table =
into a shapefile.=20
Reading the Online Doc there should not be a problem using the dumper. =
It's only the=20
pgsql2shp [<options>] <database> <table>=20
command from the commandline, isn't it?=20
Thanks=20
Guido=20
=20
---------------------- multipart/alternative attachment
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/postgis-users/attachments/20020913/77d7ad74/attachment.htm
---------------------- multipart/alternative attachment--