Use db_port in ogr2ogr

This commit is contained in:
Luis Bosque 2014-01-20 12:28:28 +01:00
parent 161a0bf5e5
commit 973b800fca

View File

@ -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