Sandro Santilli
96e4afdb1b
Have Connection also emit 'end' on stream 'close' event
...
Should fix missing connect callback call with node-0.8 (#534 )
2014-03-18 14:23:05 +01:00
Sandro Santilli
d21b995726
Enable the test for #534 (needs special naming)
...
This time, I hope, travis will confirm that the fix works with
node-0.10 but not with node-0.8
2014-03-18 13:36:57 +01:00
Sandro Santilli
e19235838d
Add unit test for callback on early postgresql disconnect
...
Test adapted by that provided by Jess Sheneberger in #534
2014-03-18 13:19:07 +01:00
Sandro Santilli
64d6883a81
Ensure connect callback is invoked on premature socket hangup
...
Closes #534
2014-03-18 13:03:15 +01:00
Brian M. Carlson
51a28c2265
Bump version
2014-01-22 08:43:16 -06:00
Brian C
62f6b2fbf9
Merge pull request #507 from brianc/issues/507
...
Unexpected identifier with pg versions > 2.3.1
2014-01-22 06:42:59 -08:00
Brian M. Carlson
5f592a1240
Fix exception caused by column names with single quotes
...
Also rename some test files so they match the Makefile regex. They will be included in the test suite from now on.
2014-01-22 08:38:29 -06:00
Brian C
07a12c0948
Merge pull request #500 from lalitkapoor/patch-1
...
comment explaining how to get oid for a type
2014-01-07 10:55:00 -08:00
Lalit Kapoor
58b4d9cf9c
comment explaining how to get oid
2014-01-07 11:48:55 -06:00
Brian M. Carlson
8abf59a632
Bump version
2014-01-06 08:11:29 -06:00
Brian M. Carlson
ba16118268
Update NEWS
2014-01-06 08:11:22 -06:00
Brian C
22d5adb335
Merge pull request #497 from hoegaarden/application_name
...
application_name
2014-01-06 06:09:50 -08:00
Hannes Hörl
4f00e5ab1a
typo
2014-01-05 18:29:30 +01:00
Hannes Hörl
caffda67f2
change test to work on travis
2014-01-05 18:26:42 +01:00
Hannes Hörl
7fd79a41c3
Add support for (fallback_)application_name
2014-01-05 18:08:58 +01:00
Brian C
ec08034221
Merge pull request #496 from benighted/patch-1
...
Added note about node-postgres-pure
2014-01-03 14:01:15 -08:00
Michael Payne
9c459ea6c5
Added note about node-postgres-pure
...
In response to Issue #495 .
2014-01-03 16:38:49 -05:00
Brian C
9dd284084b
Merge pull request #491 from hoegaarden/extended_years
...
Extended years
2014-01-03 05:41:59 -08:00
Hannes Hörl
1d261962c0
merge with upstream
2013-12-28 00:37:41 +01:00
Brian M. Carlson
d59d2d2996
Bump version
2013-12-27 16:22:33 -06:00
Brian M. Carlson
c4edd8b174
Update news
2013-12-27 16:22:27 -06:00
Brian C
32278a5aa2
Merge pull request #482 from hoegaarden/master
...
Handle pgpass
2013-12-27 14:21:36 -08:00
Hannes Hörl
5c5c57e60b
Fixes bug in test for extended years
2013-12-23 02:13:10 +01:00
Hannes Hörl
9ad0159037
merge with upstream
2013-12-22 23:21:42 +01:00
Hannes Hörl
2d1024c46d
use 'pgpass' from npm
2013-12-22 23:21:12 +01:00
Brian M. Carlson
30fc4c2a2c
Bump version
2013-12-19 22:34:54 -06:00
Brian M. Carlson
edcc39b53f
Update news
2013-12-19 22:34:49 -06:00
Brian C
aa329920ab
Merge pull request #487 from aurium/master
...
Set database on socket string connection
2013-12-19 20:32:59 -08:00
Brian M. Carlson
1884feb145
Bump version
2013-12-19 22:23:53 -06: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
Brian C
1e91fa5cab
Merge pull request #486 from rvagg/windows-fix
...
fix quoting for Windows compile
2013-12-18 19:19:01 -08:00
Rod Vagg
2a523c8f33
fix quoting for Windows compile
2013-12-19 10:24:05 +11:00
Brian M. Carlson
6d4a70702e
Bump version
2013-12-12 18:28:29 -06:00
Brian C
f58ff731ce
Merge pull request #477 from rvagg/nan
...
use NAN for Node 0.8->0.11+ compatibility
2013-12-12 16:19:03 -08:00
Brian C
d246786461
Merge pull request #480 from benighted/master
...
Fix for Y10k problem, see issue #441 .
2013-12-12 15:38:32 -08:00
Hannes Hörl
61f8f55d43
Handle .pgpass in the native client
2013-12-11 01:24:55 +01:00
Michael Payne
e6a2525540
Test for date range extremes
2013-12-09 23:35:46 -05:00
Michael Payne
b9c9c6f329
Fix for Y10k problem
2013-12-09 23:35:18 -05:00
Rod Vagg
6cb167112e
convert to NAN for Node 0.8->0.11+ support
2013-12-06 15:30:28 +11:00
Hannes Hörl
95295ad2fb
Handle .pgpass in the js client
2013-12-06 00:01:51 +01:00
Brian C
bbea5d6be7
Update README.md
2013-11-21 09:41:41 -06:00
Brian M. Carlson
c6cbb8ab39
Bump version
2013-11-20 23:01:50 -06:00
Brian M. Carlson
c42e5d726f
Remove pg upgrade in travis tests
2013-11-20 23:01:31 -06:00
Brian C
495d3199da
Add note about node-pg-cursor to readme
2013-11-20 22:56:06 -06:00
Brian C
4b640ca67d
Merge pull request #470 from Brar/master
...
Use the correct environment variable for defaults on Windows
2013-11-20 15:14:55 -08:00
Brar Piening
d5e459227a
Modified defaults.js to use process.env.USERNAME instead of process.env.USER as default value for user and database on Windows platforms
2013-11-20 20:19:31 +01:00
Brian C
5b517d1233
Update README.md
...
Add note about pg-query-stream module
2013-10-22 10:23:40 -05:00
Brian M. Carlson
50f3e18ad6
Bump version
2013-10-22 00:23:57 -05:00
Brian M. Carlson
99f9492c72
Clean up copy-in internal API
2013-10-22 00:23:43 -05:00
Brian M. Carlson
1688567340
Bump version
2013-10-21 14:08:26 -05:00