brianc/node-postgres — pull request #385 by memosanchez (2013-06-29 21:53:34+00:00)
Title: Add default value for database host to lib/defaults.js 

Native binding connection tests will fail if the PGHOST environment variable is not set.

There already exists default values for user, password and port. It would make sense to have a default host value as well - localhost appears to be a reasonable default.