Revert "Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE."

Jeff Davis <jdavis@postgresql.org>

Commit: a58db3aa10e62e4228aa409ba006014fa07a8ca2
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-12-15T07:47:30Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/replication/walsender.c modified +10 −16

Discussion