[GRASS-dev] [GRASS GIS] #2797: db.databases will not connect to postgres database in GRASS 7.0.2RC2 on Win7 and Ubuntu 15.10

GRASS GIS trac at osgeo.org
Sat Dec 19 14:17:36 PST 2015


#2797: db.databases will not connect to postgres database in GRASS 7.0.2RC2 on
Win7 and Ubuntu 15.10
-----------------------+---------------------------------------
  Reporter:  pshapley  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.3
 Component:  Database  |    Version:  svn-releasebranch70
Resolution:            |   Keywords:  login database connection
       CPU:  x86-64    |   Platform:  MSWindows 7
-----------------------+---------------------------------------
Description changed by neteler:

Old description:

> If i try to 'link external vector data' to a postgres driver i get the
> following:-
>
> db.databases location=db.databases driver=pg location=host="###.###.##
> port=5432"
> DBMI-PostgreSQL driver error:
> Unknown option in database definition for PostgreSQL:
> db.databases driver=pg location=host="###.###.## port=5432"
> DBMI-PostgreSQL driver error:
> Unknown option in database definition for PostgreSQL:
> db.databases driver=pg location=host="###.###.## port=5432"
> ERROR: Unable to list databases. Try to define correct connection
> settings by db.login.

New description:

 If i try to 'link external vector data' to a postgres driver i get the
 following:-

 db.databases location=db.databases driver=pg location=host="###.###.##
 {{{
 port=5432"
 DBMI-PostgreSQL driver error:
 Unknown option in database definition for PostgreSQL:
 db.databases driver=pg location=host="###.###.## port=5432"
 DBMI-PostgreSQL driver error:
 Unknown option in database definition for PostgreSQL:
 db.databases driver=pg location=host="###.###.## port=5432"
 ERROR: Unable to list databases. Try to define correct connection settings
 by db.login.
 }}}

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2797#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list