[GRASS-SVN] r71093 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 17 06:00:52 PDT 2017
Author: mmetz
Date: 2017-05-17 06:00:51 -0700 (Wed, 17 May 2017)
New Revision: 71093
Modified:
grass/trunk/vector/v.in.ogr/dsn.c
Log:
v.in.ogr: restore ogr syntax for pg input
Modified: grass/trunk/vector/v.in.ogr/dsn.c
===================================================================
--- grass/trunk/vector/v.in.ogr/dsn.c 2017-05-16 16:00:09 UTC (rev 71092)
+++ grass/trunk/vector/v.in.ogr/dsn.c 2017-05-17 13:00:51 UTC (rev 71093)
@@ -7,7 +7,12 @@
char *get_datasource_name(const char *opt_dsn, int use_ogr)
{
char *dsn;
+
+ dsn = G_store(opt_dsn);
+
+ return dsn;
+ /* TODO: remove below code, or use it in e.g. a new v.in.pg */
if (G_strncasecmp(opt_dsn, "PG:", 3) == 0) {
/* PostgreSQL/PostGIS */
size_t i;
More information about the grass-commit
mailing list