aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2024-07-26 09:50:31 -0400
committerRobert Haas <rhaas@postgresql.org>2024-07-26 09:50:31 -0400
commitcf8a4898360bbb70a0f9eec7bac8bcb4fcb7aa42 (patch)
treedb42d09d6f7a5d95764f00758f12a60690669d62 /src/tutorial/funcs.c
parent857df3cef7be93f7b9214c926e7af6f06a8cf23e (diff)
downloadpostgresql-cf8a4898360bbb70a0f9eec7bac8bcb4fcb7aa42.tar.gz
postgresql-cf8a4898360bbb70a0f9eec7bac8bcb4fcb7aa42.zip
Allow WAL summarization to back up when timeline changes.
The old code believed that it was not possible to switch timelines without first replaying all of the WAL from the old timeline, but that turns out to be false, as demonstrated by an example from Fujii Masao. As a result, it assumed that summarization would always continue from the LSN where summarization previously ended. But in fact, when a timeline switch occurs without replaying all the WAL from the previous timeline, we can need to back up to an earlier LSN. Adjust accordingly. Discussion: https://postgr.es/m/CA+TgmoZGEsZodXC4f=XZNkAeyuDmWTSkpkjCEOcF19Am0mt_OA@mail.gmail.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions