Commit Graph

16 Commits

Author SHA1 Message Date
Dave
6b4bc3945f Uses val function instead 2013-06-06 12:24:12 -07:00
Dave
f658b31aed Changing to client_encoding, adding test for creating a connection 2013-06-06 12:16:36 -07:00
Dave
d69070529c Makes encoding an optional parameter 2013-06-06 12:06:52 -07:00
Hebo
323a2f9f49 Fix client_encoding setting to support pg_bouncer when using libpq (#270) 2013-05-21 14:37:06 -07:00
Andrew Dunstan
ed015f9b58 Fix Unix domain socket setting.
This code was misconceived in that the host parameter for a Unix
domain socket connection must point to the directory containing
the socket, and not to the socket itself. Libpq will look for
the socket based on the host and port settings. See
<http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS>
2013-02-23 11:11:44 -05:00
Arkady Emelyanov
4c254e8edf force utf-8 encoding on connect 2013-01-29 20:19:38 -06:00
Francois Payette
77daa06df9 use encodeURI instead of string replace 2013-01-29 19:54:25 -06:00
Brian C
2f75b2f6a9 Merge pull request #256 from booo/jshint
Introduce Jshint
2013-01-24 18:49:05 -08:00
Francois Payette
7d773508fc replace space by %20 in connection string before passing to url.parse 2013-01-24 20:05:55 -05:00
Philipp Borgers
22764e045c fix jshint errors in lib/connection-parameters.js 2013-01-24 22:07:53 +01:00
Philipp Borgers
8e7e2f7a62 remove trailing whitespaces in lib/connection-parameters.js 2013-01-24 22:05:35 +01:00
Philipp Borgers
5e92546a30 fix jshint errors for lib/connection-parameters.js 2013-01-24 21:59:28 +01:00
bmc
9dad56a54e add more functionality to connection parameters 2013-01-21 15:44:55 -06:00
bmc
ec0d0beff2 build libpq connection string & support domain socket 2013-01-21 15:09:44 -06:00
bmc
868a9d0e8d remove node-tap 2013-01-20 19:42:40 -06:00
bmc
92e75f0577 add ConnectionParameters object 2013-01-20 19:42:39 -06:00