Skip to content
Permalink
Browse files

[processing] made connection params optional in ogr2ogrtopostgis.py

  • Loading branch information
volaya authored and alexbruy committed Oct 18, 2016
1 parent e55d192 commit aeaef6f549832bce107cd67095c64e1e776c781a
Showing with 5 additions and 5 deletions.
  1. +5 −5 python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
@@ -94,15 +94,15 @@ def defineCharacteristics(self):
self.addParameter(ParameterCrs(self.S_SRS,
self.tr('Override source CRS'), '', optional=True))
self.addParameter(ParameterString(self.HOST,
self.tr('Host'), 'localhost', optional=False))
self.tr('Host'), 'localhost', optional=True))
self.addParameter(ParameterString(self.PORT,
self.tr('Port'), '5432', optional=False))
self.tr('Port'), '5432', optional=True))
self.addParameter(ParameterString(self.USER,
self.tr('Username'), '', optional=False))
self.tr('Username'), '', optional=True))
self.addParameter(ParameterString(self.DBNAME,
self.tr('Database name'), '', optional=False))
self.tr('Database name'), '', optional=True))
self.addParameter(ParameterString(self.PASSWORD,
self.tr('Password'), '', optional=False))
self.tr('Password'), '', optional=True))
self.addParameter(ParameterString(self.SCHEMA,
self.tr('Schema name'), 'public', optional=True))
self.addParameter(ParameterString(self.TABLE,

0 comments on commit aeaef6f

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