Skip to content

Commit f1d3cae

Browse files
author
Kibae Shin
authored
Wrong compare expr in getLibpqConnectionString
1 parent e6d86c5 commit f1d3cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection-parameters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ConnectionParameters.prototype.getLibpqConnectionString = function(cb) {
9090
params.push("dbname='" + this.database + "'");
9191
}
9292
if(this.replication) {
93-
params.push("replication='" + (this.database === true ? "true" : this.replication) + "'");
93+
params.push("replication='" + (this.replication === true ? "true" : this.replication) + "'");
9494
}
9595
if(this.host) {
9696
params.push("host=" + this.host);

0 commit comments

Comments
 (0)