diff options
| author | Amit Kapila | 2018-09-13 10:40:59 +0000 |
|---|---|---|
| committer | Amit Kapila | 2018-09-13 10:40:59 +0000 |
| commit | 47a589c1fe35176b38ffcdb2a95b4fa2ef45add2 (patch) | |
| tree | 8856d5fa06dc116c0ce3bd4a4b4bd8951cae18a1 /doc/src | |
| parent | 93a508efb2456517af6d8756ddff4a427aee4a0c (diff) | |
Attach FPI to the first record after full_page_writes is turned on.
XLogInsert fails to attach a required FPI to the first record after
full_page_writes is turned on by the last checkpoint. This bug got
introduced in 9.5 due to code rearrangement in commits 2c03216d83 and
2076db2aea. Fix it by ensuring that XLogInsertRecord performs a
recomputation when the given record is generated with FPW as off but
found that the flag has been turned on while actually inserting the
record.
Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Amit Kapila
Backpatch-through: 9.5 where this problem was introduced
Discussion: https://postgr.es/m/20180420.151043.74298611.horiguchi.kyotaro@lab.ntt.co.jp
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions
