[GRASS-SVN] r74207 - grass/trunk/vector/v.out.postgis

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 9 10:53:50 PST 2019


Author: mmetz
Date: 2019-03-09 10:53:50 -0800 (Sat, 09 Mar 2019)
New Revision: 74207

Modified:
   grass/trunk/vector/v.out.postgis/main.c
Log:
v.out.postgis: document a bug, output option is ignored for attributes

Modified: grass/trunk/vector/v.out.postgis/main.c
===================================================================
--- grass/trunk/vector/v.out.postgis/main.c	2019-03-09 18:51:06 UTC (rev 74206)
+++ grass/trunk/vector/v.out.postgis/main.c	2019-03-09 18:53:50 UTC (rev 74207)
@@ -138,6 +138,9 @@
     /* copy attributes (must be done before checking output type
        otherwise attributes are not copied) */
     field = Vect_get_field_number(&In, params.layer->answer);
+
+    /* BUG: this works only if the input vector uses for its attributes
+     * the same PG connection to be used for the output */
     if (!flags.table->answer)
         Vect_copy_map_dblinks(&In, &Out, TRUE);
 



More information about the grass-commit mailing list