pgsql: Fix copy-paste bug in 12f3867f553 triggering an assert after a w

Started by Andres Freundover 3 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

Fix copy-paste bug in 12f3867f553 triggering an assert after a write error

The same condition accidentally was copied to both branches. Manual testing
confirms that otherwise the error recovery path works fine.

Found while reviewing the logical-decoding-on-standby patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21d7c05a5cf7637cbdf2739006936bb9d279d505

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)