We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d3cae commit 059a2fcCopy full SHA for 059a2fc
lib/client.js
@@ -224,7 +224,7 @@ Client.prototype.getStartupConf = function() {
224
data.application_name = appName;
225
}
226
if (params.replication) {
227
- data.replication = params.replication === true ? 'true' : params.replication;
+ data.replication = '' + params.replication;
228
229
230
return data;
lib/connection-parameters.js
@@ -90,7 +90,7 @@ ConnectionParameters.prototype.getLibpqConnectionString = function(cb) {
90
params.push("dbname='" + this.database + "'");
91
92
if(this.replication) {
93
- params.push("replication='" + (this.replication === true ? "true" : this.replication) + "'");
+ params.push("replication='" + this.replication + "'");
94
95
if(this.host) {
96
params.push("host=" + this.host);
0 commit comments