[GRASS-dev] [GRASS GIS] #2385: v.in.ogr doesn't use information from dblogin file about external PostgreSQL server

GRASS GIS trac at osgeo.org
Mon Aug 11 02:40:46 PDT 2014


#2385: v.in.ogr doesn't use information from dblogin file about external
PostgreSQL server
-------------------------------------------------------+--------------------
 Reporter:  hemeybo                                    |       Owner:  grass-dev@…              
     Type:  defect                                     |      Status:  new                      
 Priority:  normal                                     |   Milestone:  7.0.0                    
Component:  Database                                   |     Version:  svn-releasebranch70      
 Keywords:  v.in.ogr PostgreSQL db.login db.databases  |    Platform:  Linux                    
      Cpu:  x86-64                                     |  
-------------------------------------------------------+--------------------

Comment(by martinl):

 Replying to [comment:2 hemeybo]:

 > ERROR: Unable to open data source
 >        <PG:dbname=host=134.110.32.101,dbname=gis>
 >
 > It seems like the dsn is not created properly - the first "dbname=" is
 wrong, in my opinion.

 please post here the commands in which you set up the connection settings
 (`db.connect` and `db.login`).

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



More information about the grass-dev mailing list