Add default value for connection host.

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

There already exists several defaul values for user, password and port. It would make sense to have a default host setting as well - localhost appears to be a reasonable default.
This commit is contained in:
Guillermo A. Sanchez 2013-06-29 14:46:45 -07:00
parent 690f224c11
commit 738c966112

View File

@ -1,4 +1,7 @@
module.exports = { module.exports = {
// database host defaults to localhost
host: 'localhost',
//database user's name //database user's name
user: process.env.USER, user: process.env.USER,