Commit Graph

969 Commits

Author SHA1 Message Date
brianc
95b1c75cfe version bump 2013-03-28 15:35:59 -05:00
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
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
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
bmc
5c95886749 clear deprecation warning on client error - fix test race 2013-02-21 14:49:26 -06:00
bmc
cc84799c7a integrate new pool into existing codebase 2013-02-20 16:08:48 -06:00
bmc
bb448fe61a finish out the first rev of the improved pool api 2013-02-19 19:34:28 -06:00
bmc
971eb5d1ef initial work on new pool 2013-02-15 16:13:28 -06:00
bmc
d046ffc921 version bump 2013-01-29 20:22:17 -06:00
Arkady Emelyanov
4c254e8edf force utf-8 encoding on connect 2013-01-29 20:19:38 -06:00