Skip to content

Commit 43b67d3

Browse files
author
Paul Varache
committed
Raw socket connection
1 parent 87dd65f commit 43b67d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Client.prototype.connect = function (callback) {
6666
this._connecting = true
6767

6868
if (this.host && this.host.indexOf('/') === 0) {
69-
con.connect(this.host + '/.s.PGSQL.' + this.port)
69+
con.connect(this.host)
7070
} else {
7171
con.connect(this.port, this.host)
7272
}

0 commit comments

Comments
 (0)