In log_newpage_range(), heed forkNum and page_std arguments.
Noah Misch <noah@leadboat.com>
In log_newpage_range(), heed forkNum and page_std arguments. The function assumed forkNum=MAIN_FORKNUM and page_std=true, ignoring the actual arguments. Existing callers passed exactly those values, so there's no live bug. Back-patch to v12, where the function first appeared, because another fix needs this. Discussion: https://postgr.es/m/20191118045434.GA1173436@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xloginsert.c | modified | +8 −2 |
Discussion
- WAL logging problem in 9.4.3? 244 messages · 2015-07-02 → 2020-04-06