Skip to content

Commit

Permalink
[processing] made connection params optional in ogr2ogrtopostgis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 17, 2016
1 parent e58177c commit 589a217
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
Expand Up @@ -93,15 +93,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,
Expand Down

0 comments on commit 589a217

Please sign in to comment.