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

#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&gt;
GRASS GIS <http://grass.osgeo.org>