diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-08-05 18:00:17 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-08-05 18:00:17 +0200 |
commit | 2cff3025906c657297ef7bf323fa715f81d20038 (patch) | |
tree | 1ce2418da28159926fc081ce8cd05477985a456f /src/backend/access/gist/gistvalidate.c | |
parent | aa242501afb76d6806260bff3bc8494e0a7f2a69 (diff) | |
download | postgresql-2cff3025906c657297ef7bf323fa715f81d20038.tar.gz postgresql-2cff3025906c657297ef7bf323fa715f81d20038.zip |
BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking
That bit is unlogged and therefore it's wrong to consider it in WAL page
comparison.
Add a test that tickles the case, as branch testing technology allows.
This has been a problem ever since wal consistency checking was
introduced (commit a507b86900f6 for pg10), so backpatch to all supported
branches.
Author: 王海洋 (Haiyang Wang) <wanghaiyang.001@bytedance.com>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/CACciXAD2UvLMOhc4jX9VvOKt7DtYLr3OYRBhvOZ-jRxtzc_7Jg@mail.gmail.com
Discussion: https://postgr.es/m/CACciXADOfErX9Bx0nzE_SkdfXr6Bbpo5R=v_B6MUTEYW4ya+cg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions