pgsql: Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABL - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABL
Date
Msg-id E1kp55e-0004g6-DP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE."

This reverts commit 3a9e64aa0d96c8ffb6c682b082d0f72b1d373327.

Commit 4bad60e3 fixed the root of the problem that 3a9e64aa worked
around.

This enables proper pipelining of commands after terminating
replication, eliminating an undocumented limitation.

Discussion: https://postgr.es/m/3d57bc29-4459-578b-79cb-7641baf53c57%40iki.fi
Backpatch-through: 9.5

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ac7df6e8feebde6fd5cff87f3ea828c206ddc0a7

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


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABL
Next
From: Jeff Davis
Date:
Subject: pgsql: Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABL