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"<[email protected]>  wrote:

...


Patrick

-------------------------------

Dr. Patrick Schirmer
Fahrländer Partner AG


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 "/run/postgresql/.s.PGSQL.5432"?
Can you connect with the psql command?

Is the service reachable at port 5432?

Markus



----------
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to