[postgis-users] postgis socket name problem
Nico Mandery
nico.mandery at geops.de
Tue May 3 01:20:08 PDT 2011
Hi Vincent,
you might want to try passing the following options to pgsql2shp:
pgsql2shp -h /tmp/ -p 5432 ...
Nico
Am 02.05.2011 13:12, schrieb Vincent De Groote:
> Hello,
>
> Yes, the Postgresql server is running. This really seems to be a
> socket name problem:
>
> - the server created the "/tmp/.s.PGSQL.5432" socket
> - pgsql2shp tries to connect using '/var/run/postgresql/.s.PGSQL.5432'
>
> If I create a link from /var/run/postgresql -> /tmp, pgsql2shp
> connects successfully.
>
> The pgsql2shp program seems to connect to the database using a
> standard postgresql api call, so I don't understand how this can happen.
> I searched a hardcoded string '/var/run/postgresql' in the postgresql
> sources, but I didn't find it.
>
> Vincent
--
geOps
Belfortstr. 17
D-79098 Freiburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110503/9926b650/attachment.html>
More information about the postgis-users
mailing list