We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89fc2f1 commit 8daf384Copy full SHA for 8daf384
index.js
@@ -22,13 +22,6 @@ function parse(str) {
22
config.client_encoding = config.encoding;
23
}
24
25
- // primary sockets support, via parameter 'socket':
26
- if (config.socket) {
27
- config.host = config.socket;
28
- return config;
29
- }
30
-
31
- // secondary support for unix sockets, when host name ends with '.sock':
32
if (cs.hosts && cs.hosts[0].type === 'socket') {
33
return config;
34
0 commit comments