Hannes Hörl
9ad0159037
merge with upstream
2013-12-22 23:21:42 +01:00
Aurélio A. Heckert
c0fd4b1431
Set database on socket string connection
...
Allows to conect to a specific database trough this ways:
pg.connect('/some/path database', callback);
pg.connect('socket:/some/path?db=database', callback)
pg.connect('socket:/some/path?db=database&encoding=utf8', callback)
2013-12-19 15:37:26 -03:00
Hannes Hörl
61f8f55d43
Handle .pgpass in the native client
2013-12-11 01:24:55 +01:00
brianc
bfdea752b2
Respect PGSSLMODE for setting SSL connection
2013-09-05 16:51:16 -05:00
Brian C
5806afc8a1
Merge pull request #276 from bryanburgers/connection-url-ssl
...
Add ssl query string to the connection string parser #275
2013-06-29 23:24:02 -07:00
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
Bryan Burgers
79f85a4a9e
Add ssl query string to the connection string parser
2013-02-20 18:17:18 -06: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