node-postgres/test
bmc 9b1c4facc2 Make query callback exceptions not break client
If you throw an exception in a query callback the client will not pulse
its internal query queue and therefor will never process any
more queries or emit its own 'drain' event.

I don't find this to be an issue in production code since I restart
the process on exceptions, but it can break tests and cause things
to 'hang'.  My crude benchmarks show no noticable impact in perf
from the try/catch/rethrow.

:q
2013-04-19 09:09:28 -05:00
..
integration Make query callback exceptions not break client 2013-04-19 09:09:28 -05:00
native better handling of client stream termination 2013-03-28 13:24:33 -05:00
unit merge branch v1.0 2013-04-04 11:51:55 -05:00
buffer-list.js fix for strang \0 buffer encoding issue in node v0.3.0 2010-11-01 22:11:40 -04:00
cli.js use ConnectionParameters with native bindings and remove unused util functions 2013-01-22 23:23:47 -06:00
test-buffers.js unit test for portal suspended 2010-11-14 17:44:36 -06:00
test-helper.js allow assert.success to accept 0 arity callback 2013-04-04 11:54:31 -05:00