postgresql/src
Robert Haas c7cfbc5157 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
2024-07-26 09:59:39 -04:00
..
backend Allow WAL summarization to back up when timeline changes. 2024-07-26 09:59:39 -04:00
bin pg_createsubscriber: Message style improvements 2024-07-26 14:55:15 +02:00
common Typo fix 2024-07-08 22:12:42 +09:00
fe_utils Fix PL/pgSQL's handling of integer ranges containing underscores. 2024-06-04 11:48:01 +01:00
include Fix using injection points at backend startup in EXEC_BACKEND mode 2024-07-26 15:12:12 +03:00
interfaces Fix fallback behavior when server sends an ERROR early at startup 2024-07-26 15:02:29 +03:00
makefiles Optimize pg_popcount() with AVX-512 instructions. 2024-04-06 21:56:23 -05:00
pl Doc: improve description of plpgsql's FETCH and MOVE commands. 2024-07-22 19:43:27 -04:00
port Pre-beta mechanical code beautification. 2024-05-14 16:34:50 -04:00
template Remove AIX support 2024-02-28 15:17:23 +04:00
test SQL/JSON: Respect OMIT QUOTES when RETURNING domains over jsonb 2024-07-26 16:36:10 +09:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools ci: Pin MacPorts version to 2.9.3. 2024-07-25 14:48:18 +12:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Update Unicode data to CLDR 45 2024-04-22 09:16:33 +02:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00