Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE."
authorJeff Davis <[email protected]>
Tue, 15 Dec 2020 07:50:20 +0000 (23:50 -0800)
committerJeff Davis <[email protected]>
Tue, 15 Dec 2020 07:50:20 +0000 (23:50 -0800)
commit133a0906d5bf529ac2898c24b98ed87db1c6284d
treed3fcf8568129c5fa1cdff5914b819c8e1e16e038
parentda214247de1d566709bff0420dd8024fd9fa0d10
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
src/backend/replication/walsender.c