浏览代码

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);