We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f658b31 commit 6b4bc39Copy full SHA for 6b4bc39
lib/connection-parameters.js
@@ -38,7 +38,7 @@ var ConnectionParameters = function(config) {
38
this.password = val('password', config);
39
this.binary = val('binary', config);
40
this.ssl = config.ssl || defaults.ssl;
41
- this.client_encoding = config.client_encoding || defaults.client_encoding;
+ this.client_encoding = val("client_encoding", config);
42
//a domain socket begins with '/'
43
this.isDomainSocket = (!(this.host||'').indexOf('/'));
44
};
0 commit comments