[GRASS-dev] [GRASS GIS] #2387: v.in.ogr import from external PostgreSQL-server throws error if schema name and user name are identical

GRASS GIS trac at osgeo.org
Fri Aug 1 02:38:33 PDT 2014


#2387: v.in.ogr import from external PostgreSQL-server throws error if schema name
and user name are identical
--------------------------------------------------+-------------------------
 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 schema user name  |    Platform:  Linux                    
      Cpu:  x86-64                                |  
--------------------------------------------------+-------------------------
 During import with v.in.ogr from an external PostgreSQL-server, an error
 occurs if schema name in the PostgreSQL-DB and user name are identical:
 v.in.ogr dsn="PG:host=192.168.174.100 dbname=gis user=test password=****"
 layer=test.grass_test_geom_neu_oc  output=grasstest

 ERROR: Layer <LAYER NAME> not available

 If another schema name is used, everything is imported as it is supposed
 to.
 v.in.ogr dsn="PG:host=192.168.174.100 dbname=gis user=test password=****"
 layer=test1.grass_test_geom_neu_oc  output=grasstest

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2387>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list