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.
2 parents aa242b0 + 4b88c82 commit 460d5d0Copy full SHA for 460d5d0
lib/utils.js
@@ -77,7 +77,7 @@ var getLibpgConString = function(config, callback) {
77
if(config.host) {
78
if(config.host != 'localhost' && config.host != '127.0.0.1') {
79
//do dns lookup
80
- return require('dns').lookup(config.host, 4, function(err, address) {
+ return require('dns').lookup(config.host, function(err, address) {
81
if(err) return callback(err, null);
82
params.push("hostaddr="+address)
83
callback(null, params.join(" "))
0 commit comments