<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">Running PG connection on grass70 works for me as well.
Wild guess:
1.) Are the maps stored in Schemas? (see $INPATH below)
2.) Have you tested the change/removing of quotations? (see codeexample below)
My (tested) code in BASH:
GSCHEMA=grass_2015
INPATH="PG:dbname=$DB_NAME active_schema=$ISCHEMA"
db.connect driver=pg database=psql_local schema=$GSCHEMA #no quotations here"
db.connect -p
v.in.ogr dsn="$INPATH" out=pt layer="xy" --overwrite #I use quotations here
On Sep 2, 2016 6:45 PM, "Nikos Alexandris" <a class="moz-txt-link-rfc2396E" href="mailto:nik@nikosalexandris.net"><nik@nikosalexandris.net></a> wrote:
...
Patrick
</pre>
<font size="-2">-------------------------------</font><font
size="-2">
</font>
<p><font size="-2">Dr. Patrick Schirmer<br>
Fahrländer Partner AG</font></p>
<br>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap="">GRASS 7.3.svn (wgs84):~ > db.tables -p
DBMI-PostgreSQL driver error:
Connection failed.
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>run/postgresql<span class="moz-txt-tag">/</span></i>.s.PGSQL.5432"?
</pre>
</blockquote>
<pre wrap="">Can you connect with the psql command?
Is the service reachable at port 5432?
Markus
----------
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
</body>
</html>