Use db_port in ogr2ogr
This commit is contained in:
parent
161a0bf5e5
commit
973b800fca
@ -138,6 +138,7 @@ ogr.prototype.toOGR = function(options, out_format, out_filename, callback) {
|
||||
'-lco', 'LINEFORMAT=CRLF',
|
||||
out_filename,
|
||||
"PG:host=" + dbhost
|
||||
+ " port=" + dbport
|
||||
+ " user=" + dbuser
|
||||
+ " dbname=" + dbname
|
||||
+ " password=" + dbpass
|
||||
|
Loading…
Reference in New Issue
Block a user