Skip to content
Permalink
Browse files

Reverted change to v.out.ogr.pg due to a possible bug in GRASS

git-svn-id: http://svn.osgeo.org/qgis/trunk@12477 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
pcav
pcav committed Dec 15, 2009
1 parent a13ce52 commit 28ac22302072cecb26e49cd7ff9b79964660529a
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/plugins/grass/modules-6.4/v.out.ogr.pg.qgm
  2. +1 −1 src/plugins/grass/scripts/v.out.ogr.pg.py
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Export vector to PostGIS (PostgreSQL) database table." module="v.out.ogr.pg.py" manual="v.out.ogr">
<flag key="c" answer="off" hidden="no"/>
<qgisgrassmodule label="Export vector to PostGIS (PostgreSQL) database table" module="v.out.ogr.pg.py" manual="v.out.ogr">
<option key="input" layeroption="layer" typeoption="type" />
<option key="olayer" />
<option key="database" />
@@ -137,7 +137,7 @@ def main():
if user: dsn += " user=" + user
if password: dsn += " password=" + password

if grass.run_command('v.out.ogr', flags=flags_string, input=input, layer=layer, type=type, format="PostgreSQL", dsn=dsn, olayer=olayer ) != 0:
if grass.run_command('v.out.ogr', input=input, layer=layer, type=type, format="PostgreSQL", dsn=dsn, olayer=olayer ) != 0:
grass.fatal("Cannot export vector to database.")

if __name__ == "__main__":

0 comments on commit 28ac223

Please sign in to comment.
You can’t perform that action at this time.