node-postgres/test
brianc 6f8292435d Respond to emptyQuery with a sync message
When a __prepared statement__ has no body in the query the backend responds with an `emptyQuery` message but never with a `commandComplete` or `errorResponse` message.  The client was hanging forever waiting for one of the other two expected messages.  The server was hanging forever waiting for the client to respond with a `sync` message.  This change has the client send the required `sync` on receipt of an `emptyQuery` message when the query is a prepared statement.  Fixes #822
2015-08-01 18:51:49 -05:00
..
integration Respond to emptyQuery with a sync message 2015-08-01 18:51:49 -05:00
native Use strictEqual instead 2015-02-22 21:30:22 +01:00
unit Remove COPY TO / COPY FROM 2014-10-11 14:27:03 -04: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 Work towards more tests passing 2014-09-14 01:23:02 -04:00
test-buffers.js unit test for portal suspended 2010-11-14 17:44:36 -06:00
test-helper.js Do not consider a statement as prepared if it errors 2014-10-19 22:53:08 -04:00