<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Vincent,<br>
<br>
you might want to try passing the following options to pgsql2shp:<br>
<br>
pgsql2shp -h /tmp/ -p 5432 ...<br>
<br>
Nico<br>
<br>
Am 02.05.2011 13:12, schrieb Vincent De Groote:
<blockquote cite="mid:1304334759.9950.11.camel@portable-vdg"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="GtkHTML/3.30.3">
Hello,<br>
<br>
Yes, the Postgresql server is running. This really seems to be a
socket name problem: <br>
<br>
- the server created the "/tmp/.s.PGSQL.5432" socket<br>
- pgsql2shp tries to connect using
'/var/run/postgresql/.s.PGSQL.5432' <br>
<br>
If I create a link from /var/run/postgresql -> /tmp, pgsql2shp
connects successfully.<br>
<br>
The pgsql2shp program seems to connect to the database using a
standard postgresql api call, so I don't understand how this can
happen.<br>
I searched a hardcoded string '/var/run/postgresql' in the
postgresql sources, but I didn't find it.<br>
<br>
Vincent<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
geOps
Belfortstr. 17
D-79098 Freiburg
</pre>
</body>
</html>