Commit Graph

946 Commits

Author SHA1 Message Date
booo
5329e5e17e check if the uv_poll_t struct is initialized before calling uv_poll_stop
Before this fix a call to End after an error in Connect() would result in
a segfault.

https://github.com/brianc/node-postgres/issues/136#issuecomment-6774321
2012-07-06 15:16:04 +02:00
booo
3680b5931b remove unnecessary LOG call; we emit a proper error later in the code 2012-07-06 14:25:07 +02:00
booo
60130a933d check for CONNECTION_BAD status before calling PQsetnonblocking 2012-07-06 14:22:59 +02:00
booo
125075b796 call uv_poll_start on Flush() 2012-07-06 14:15:51 +02:00
booo
d7b9f64b02 remove unnecessary comments 2012-07-06 14:08:03 +02:00
brianc
4d482e451b use client#connect callback in pg.connect connection error handling 2012-07-05 22:38:07 -05:00
brianc
66328cc6cb update engines to only support >=v0.8.x/libuv on the master branch 2012-07-05 22:38:07 -05:00
brianc
757316f33e minor version bump to indicate shift to libuv backend for native bindings 2012-07-05 22:38:07 -05:00
booo
70de032e61 initial fix for issue #136
Test case from ticket works but some tests fail.

Signed-off-by: brianc <brian.m.carlson@gmail.com>
2012-07-05 22:38:07 -05:00
Brian Carlson
fe10d8544a Merge pull request #144 from rpflorence/master
Syntax highlighting for the README
2012-07-04 18:35:44 -07:00
Ryan Florence
4d30540bd8 Github syntax highlighting for the README 2012-07-03 19:05:24 -06:00
Brian Carlson
accb94b211 Merge pull request #135 from machunter/master
failing test for issue 6247131
2012-06-28 17:25:27 -07:00
brianc
4979d31e9f version bump 2012-06-28 19:21:06 -05:00
brianc
84569ab8d5 Merge remote-tracking branch 'sannis/patch-1' 2012-06-28 19:19:17 -05:00
brianc
31566cf056 fix failing array test - closes #125 2012-06-28 19:13:52 -05:00
Oleg Efimov
569f757f3f Use pg_config in bindings.gyp 2012-06-28 22:29:15 +04:00
brianc
913207575b use node-gyp - closes #132 2012-06-18 22:43:30 -05:00
Brian Carlson
0e742a011d Merge pull request #134 from shtylman/master
It said fork and add so that is what I did :)
2012-06-18 20:12:51 -07:00
burc sahinoglu
3e70c457cc test case for password containing a < or > sign 2012-06-13 12:46:47 -07:00
Roman Shtylman
e2e9e27a49 add bitfloor.com to Production Use section in Readme.md 2012-06-12 21:52:57 -03:00
brianc
bb9cd85ff4 version bump 2012-05-30 23:44:53 -05:00
brianc
176e6c7ab2 include command metadata with native query result callback - closes #128 2012-05-30 23:38:03 -05:00
brianc
7f00b3ee30 use correct parse function for float arrays - closes #131 2012-05-30 22:51:59 -05:00
brianc
730355040d add failing test for #131 2012-05-30 22:50:12 -05:00
brianc
7a2c428973 ignore writes to unwritable sockets - closes #130 2012-05-30 22:41:51 -05:00
brianc
66ea0249d8 add failing test for #130 2012-05-30 22:40:49 -05:00
brianc
dd84db367b reduce complexity of test runner 2012-05-30 22:12:14 -05:00
brianc
527eb0dfe2 version bump 2012-05-09 23:45:50 -05:00
Brian Carlson
604dccf88c Merge pull request #126 from TauZero/activeQuerySelf
Use 'self.activeQuery' insead of 'this.activeQuery' in readyForQueue
2012-05-08 07:22:13 -07:00
Brian Bickerton
fc3b34d42f Use 'self.activeQuery' insead of 'this.activeQuery' in the readyForQueue event listener. 2012-05-08 10:07:43 -04:00
brianc
a19e72e1bd version bump 2012-03-27 09:30:51 -04:00
brianc
f8d9d25e7d update contributors 2012-03-27 09:30:31 -04:00
brianc
1c6afce19f Merge remote branch 'kennym/patch-4' 2012-03-27 09:29:26 -04:00
brianc
be5308a148 always pass radix to parseInt. closes #113 2012-03-27 09:24:45 -04:00
brianc
0e4dca46eb update contributors 2012-03-27 09:24:19 -04:00
brianc
4160da4de3 Merge remote branch 'chowey/patch2' 2012-03-27 09:18:38 -04:00
Cameron Howey
f978cc6379 Add result to row event
This makes the `result` object available from the row event.
2012-03-26 09:05:34 -04:00
Kenny Meyer
a25ef7cae4 Fix indentation 2012-03-22 17:32:56 -03:00
brianc
734a2cbdc6 version bump 2012-03-21 22:45:19 -05:00
brianc
96f7179094 expose type converter overrides & warn on giant numeric values 2012-03-21 22:36:18 -05:00
brianc
90d4d2d070 version bump 2012-03-20 22:55:08 -05:00
Phil Sorber
0b34675449 Flush writes to server after every send. 2012-03-12 21:34:35 -04:00
brianc
6bea0390f8 version bump 2012-03-06 19:10:00 -06:00
brianc
25ac351997 Merge remote-tracking branch 'jeremyevans/patch-1' 2012-03-06 19:09:14 -06:00
brianc
5adb96f827 add failing test for #103 2012-03-06 19:08:11 -06:00
Jeremy Evans
bbcbdee584 Handle "NULL" correctly in arrays
NULL in arrays is NULL, but "NULL" in arrays is 'NULL' (a string).
2012-03-05 15:52:00 -08:00
brianc
5e1df9a4e5 version bump 2012-03-01 23:07:53 -05:00
wink
e0313aeffd if PQconsumeInput returns 0, something broke, throw an error! 2012-03-01 15:13:47 -06:00
brianc
b689136e75 version bump 2012-02-27 22:12:16 -06:00
brianc
480fe2691d Merge remote-tracking branch 'chowey/patch-2' 2012-02-27 22:06:01 -06:00