[GRASS-dev] Re: [GRASS GIS] #1274: PostGIS load with v.in.ogr fails without -t

GRASS GIS trac at osgeo.org
Mon Feb 7 09:08:35 EST 2011


#1274: PostGIS load with v.in.ogr fails without -t
------------------------+---------------------------------------------------
 Reporter:  arencambre  |       Owner:  grass-dev@…              
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  6.4.1                    
Component:  Default     |     Version:  6.4.1 RCs                
 Keywords:              |    Platform:  MSWindows 7              
      Cpu:  x86-32      |  
------------------------+---------------------------------------------------

Comment(by arencambre):

 '''db.connect -p''' returns this:
 {{{
 driver:pg
 database:host=localhost,dbname=de
 schema:
 group:
 }}}
 So it's trying to connect to the same database.

 This is a fresh install of GRASS 6.4.0, and I have never adjusted any
 database connection settings. All I have done database-related is issue
 the '''v.in.ogr''' command.

 Since '''db.connect -p''' apparently it picked up
 '''host=localhost,dbname=de''' from '''v.in.ogr''' , shouldn't it also get
 the user id and password?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1274#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list