postgresql/src/backend/access
Alvaro Herrera 541f41d4fa
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 a507b86900 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
2022-08-05 18:00:17 +02:00
..
brin BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking 2022-08-05 18:00:17 +02:00
common Fix corruption of toast indexes with REINDEX CONCURRENTLY 2021-12-08 11:01:14 +09:00
gin Remove redundant memset(0) calls for page init of some index AMs 2021-04-07 14:35:26 +09:00
gist Fix data loss on crash after sorted GiST index build. 2022-02-24 14:34:09 +02:00
hash Further portability tweaks for float4/float8 hash functions. 2021-09-04 16:29:08 -04:00
heap Prevent access to no-longer-pinned buffer in heapam_tuple_lock(). 2022-04-13 13:35:02 -04:00
index Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
nbtree Suppress "variable 'pagesaving' set but not used" warning. 2022-04-06 17:03:35 -04:00
rmgrdesc Fix WAL replay in presence of an incomplete record 2021-09-29 11:41:01 -03:00
spgist Fix SP-GiST scan initialization logic for binary-compatible cases. 2021-11-20 14:29:56 -05:00
table Fix some typos with {a,an} 2021-12-09 15:20:45 +09:00
tablesample Update copyright for 2021 2021-01-02 13:06:25 -05:00
transam Add HINT for restartpoint race with KeepFileRestoredFromArchive(). 2022-08-05 08:30:58 -07:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00