node-postgres/test/integration
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
..
client Make query callback exceptions not break client 2013-04-19 09:09:28 -05:00
connection test connection and backend event exchange during COPY TO/FROM 2013-01-06 12:06:26 -06:00
connection-pool fix tests on older versions of postgres 2013-04-17 09:54:16 -05:00
gh-issues add failing test for #131 2012-05-30 22:50:12 -05:00
test-helper.js fix tests for postgres >= v9.2.0 2013-04-17 09:26:31 -05:00