Commit Graph

13 Commits

Author SHA1 Message Date
Guillermo A. Sanchez
738c966112 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.
2013-06-29 14:46:45 -07:00
Dave
6fea79712c Client encoding in defaults as well 2013-06-06 12:32:04 -07:00
Dave
d69070529c Makes encoding an optional parameter 2013-06-06 12:06:52 -07:00
brianc
1d6541724e remove deprecation warnings & deprecate lib 2013-03-17 14:51:57 -05:00
brianc
213518648b ability to hide deprecation warnings 2013-03-07 10:01:14 -06:00
Philipp Borgers
4272f21685 remove trailing whitespace in lib/defaults.js 2013-01-24 22:03:02 +01:00
Philipp Borgers
3ba179a4d1 fix jshint errors for lib/defaults.js 2013-01-24 22:03:02 +01:00
Thomas Dimson
ae88278845 Add pass-through of log function to generic-pool. Bump generic-pool version. 2012-07-15 20:08:26 -07:00
brianc
21c6699d1b add reapIntervalMillis to defaults and format the file 2012-02-02 23:27:52 -06:00
Alexander Sulfrian
f8962fd036 connection can be binary by default
if connection is created with config.binary = true, all queries get
executed with binary result unless explicit disabled with binary = false
2011-11-22 04:53:38 +01:00
brianc
c16c7f619d configurable idle timeout on pooled clients 2011-08-11 21:52:29 -05:00
bmc
d5bd9c904a defaults changed to be more in line with libpq defaults 2011-03-01 20:13:04 +00:00
Brian Carlson
de5438e6f5 started working on specifying defaults 2010-11-20 14:09:18 -06:00