Brian C
027c4961fa
Merge pull request #315 from brianc/handle-stream-end
...
better handling of client stream termination
2013-03-28 13:32:57 -07:00
brianc
07a049df96
use supplied connection params in new tests
2013-03-28 15:06:34 -05:00
brianc
301f076f01
pin jshint version
2013-03-28 13:37:08 -05:00
brianc
683d636501
better handling of client stream termination
...
1. Pass an error to an active query if the client is ended while a query is in progress.
2. actually emit 'end' event on the client when the stream ends
3. do not emit an error from native bindings if lasterror is null
2013-03-28 13:24:33 -05:00
brianc
df766c9134
begin work on benchmarking
2013-03-19 10:07:13 -05:00
brianc
1d6541724e
remove deprecation warnings & deprecate lib
2013-03-17 14:51:57 -05:00
brianc
cee5f1d8b3
move buffer-writer to external module
2013-03-16 11:51:26 -05:00
brianc
4b19869004
version bump
2013-03-14 08:53:15 -05:00
brianc
6d5e13d580
add NEWS.md file
2013-03-14 08:44:32 -05:00
Brian C
d06a2164ee
Merge pull request #307 from strk/master-looser-pg-dep
...
Loosen generic-pool dependency to ~2.0.2
2013-03-14 06:38:57 -07:00
brianc
463884adc2
change versions of node tested with travis-ci
2013-03-14 08:37:58 -05:00
Brian C
8f58409195
Merge pull request #303 from strk/master-make-all
...
Add a default "make all" rule to "build" the project (npm install)
2013-03-14 06:34:06 -07:00
Brian C
fd288be411
Merge pull request #305 from strk/master-array-numeric
...
Fix parsing of numeric[], previously returning array of ints
2013-03-14 06:33:57 -07:00
Sandro Santilli
796c84d943
Loosen generic-pool dependency to ~2.0.2
...
This allows using any version in the 2.0 series greater or equal
to 2.0.2, making it easier to use this module with others
requiring higher versions.
2013-03-14 11:52:37 +01:00
Sandro Santilli
f38f9f084d
Fix parsing of numeric[], previously returning array of ints
...
Closes #304 , includes testcase
2013-03-14 10:06:46 +01:00
Sandro Santilli
19e9dddc19
Add a default "make all" rule to "build" the project (npm install)
2013-03-14 09:37:53 +01:00
Brian C
0d0737d67b
add note on impending breaking changes to readme
2013-03-11 15:27:16 -05:00
brianc
a5ee365116
remove parseFloat
2013-03-07 16:19:11 -06:00
brianc
e93a4a5d66
remove pauseDrain/resumeDrain
2013-03-07 16:12:09 -06:00
brianc
aadb2917cc
fix broken test
2013-03-07 16:09:40 -06:00
brianc
9c7a33caca
remove 2 parameter pg.connect function
2013-03-07 15:57:00 -06:00
brianc
07d7c259a5
version bump
2013-03-07 14:53:04 -06:00
Brian C
20b47e7863
Merge pull request #298 from brianc/v0.14.0-pre
...
V0.14.0 pre
2013-03-07 12:37:46 -08:00
Brian C
db03c533da
Update README.md
2013-03-07 10:14:34 -06:00
Brian C
7cfeba524e
Update README.md
2013-03-07 10:12:15 -06:00
brianc
213518648b
ability to hide deprecation warnings
2013-03-07 10:01:14 -06:00
brianc
f30158f7c4
deprecate float parsing - closes #296
2013-03-07 09:54:01 -06:00
brianc
6415450634
deprecate pauseDrain/resumeDrain & auto-releasing client pool
2013-03-07 09:47:04 -06:00
brianc
6879453d83
add v0.9.x to travis
2013-03-07 08:27:53 -06:00
brianc
2273f5796f
fix native on node v0.9.x - closes #297
2013-03-07 08:17:41 -06:00
brianc
b56248664c
version bump
2013-03-07 07:34:26 -06:00
Brian C
ed75b2f453
Merge pull request #291 from wgraeber/master
...
Potential fix for client_encoding error
2013-03-07 05:32:15 -08:00
swilly
49bff032aa
fix tests
2013-03-06 12:00:17 -05:00
Brian C
fbb9f3c260
Merge pull request #292 from brianc/cleanup
...
Cleanup
2013-03-06 08:55:39 -08:00
brianc
c57eee8661
normalize whitespace, add comments, and do a little house cleaning
2013-03-06 10:26:40 -06:00
brianc
37bb13fc0c
move type conversion related code under sub-folder
2013-03-06 08:57:38 -06:00
brianc
b58ae9e7f7
clean up prototype shorthand
...
For some reason a few years ago I thought it would be neat to use a shorthand version of prototype to save myself some keystrokes. That was a cosmetic mistake. It also breaks ctags.
Also, normalized some whitespace.
2013-03-06 08:48:52 -06:00
swilly
d4dc76077b
possible fix for: error: unrecognized configuration parameter 'lient_encoding'
2013-03-05 15:44:20 -05:00
Brian C
e8f7649865
Merge pull request #290 from francoiscolas/master
...
fixed build broken under freebsd
2013-03-05 08:28:04 -08:00
François Colas
8cfefb1efd
cleaned up binding.gyp file
2013-03-05 12:17:36 +01:00
François Colas
f8550c7321
fixed build broken under freebsd
2013-03-05 12:17:14 +01:00
Brian C
8ce808d0da
Merge pull request #281 from adunstan/unix-domain-socket
...
Fix Unix domain socket setting. closes #277
2013-02-23 14:46:27 -08: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
bmc
69b417171b
version bump
2013-02-22 11:48:44 -06:00
Brian C
c6d5f43473
Merge pull request #278 from adunstan/master
...
Allow passing a JS array instead of an array literal where SQL expects an array
2013-02-22 09:33:17 -08:00
Andrew Dunstan
c5b88dbff2
make indentation and blocking style consistent.
2013-02-22 09:37:29 -05:00
bmc
bc71000334
version bump
2013-02-21 20:45:15 -06:00
Brian C
0f41e65619
Merge pull request #274 from brianc/pool
...
Connection Pool refactor
2013-02-21 18:34:23 -08:00
Andrew Dunstan
a3af2a21cf
a visit from the jshint police
2013-02-21 17:45:46 -05:00
Andrew Dunstan
44b15422a0
allow passing JS array as a parameter instead of an array literal where SQL expects an array
2013-02-21 17:32:47 -05:00