Remove "smgr_persistence == 0" dead code.
Noah Misch <noah@leadboat.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/bufmgr.c | modified | +1 −9 |
| src/include/storage/bufmgr.h | modified | +3 −7 |
Discussion
- Use read streams in CREATE DATABASE command when the strategy is wal_log 12 messages · 2024-04-16 → 2024-07-23