Переглянути джерело

v.out.postgis: document a bug, output option is ignored for attributes

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74207 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 роки тому
батько
коміт
87ebf76111
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      vector/v.out.postgis/main.c

+ 3 - 0
vector/v.out.postgis/main.c

@@ -138,6 +138,9 @@ int main(int argc, char *argv[])
     /* 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);