Обсуждение: pgsql: Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE.

Поиск
Список
Период
Сортировка

pgsql: Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE.

От
Heikki Linnakangas
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3a9e64aa0d96c8ffb6c682b082d0f72b1d373327

Modified Files
--------------
src/backend/replication/walsender.c |   26 ++++++++++++++++----------
1 files changed, 16 insertions(+), 10 deletions(-)