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',
|
'-lco', 'LINEFORMAT=CRLF',
|
||||||
out_filename,
|
out_filename,
|
||||||
"PG:host=" + dbhost
|
"PG:host=" + dbhost
|
||||||
|
+ " port=" + dbport
|
||||||
+ " user=" + dbuser
|
+ " user=" + dbuser
|
||||||
+ " dbname=" + dbname
|
+ " dbname=" + dbname
|
||||||
+ " password=" + dbpass
|
+ " password=" + dbpass
|
||||||
|
Loading…
Reference in New Issue
Block a user