Remove "smgr_persistence == 0" dead code.
authorNoah Misch <noah@leadboat.com>
Sat, 20 Jul 2024 11:22:12 +0000 (04:22 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 20 Jul 2024 11:22:12 +0000 (04:22 -0700)
commite00c45f6850f86c53b48478f60c15be905dc914d
tree5e42c95b81f3efaa85f85d9a8a379587a6d036e0
parent22b0ccd65d275d227a7d911aede12d34e1b5dfc9
Remove "smgr_persistence == 0" dead code.

Reaching that code would have required multiple processes performing
relation extension during recovery, which does not happen.  That caller
has the persistence available, so pass it.  This was dead code as soon
as commit 210622c60e1a9db2e2730140b8106ab57d259d15 added it.

Discussion: https://postgr.es/m/CAN55FZ0JKL6vk1xQp6rfOXiNFV1u1H0tJDPPGHWoiO3ea2Wc=A@mail.gmail.com
src/backend/storage/buffer/bufmgr.c
src/include/storage/bufmgr.h