]> granicus.if.org Git - postgresql/commit
Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Feb 2013 17:17:07 +0000 (19:17 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Feb 2013 17:28:51 +0000 (19:28 +0200)
commit3a9e64aa0d96c8ffb6c682b082d0f72b1d373327
tree868e56e125b00ec17a0bda8514e7e3c4c4adfcab
parent5ddf38f21d3f34c794de2d1c9b61ba92a7d6f39c
Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE.

In copy-out mode, the frontend should not send any messages until the
backend has finished streaming, by sending a CopyDone message. I'm not sure
if it would be legal for the client to send a new query before receiving the
CopyDone message from the backend, but trying to support that would require
bigger changes to the backend code structure.

Fixes an assertion failure reported by Fujii Masao.
src/backend/replication/walsender.c