postgresql/src/backend
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
..
access Use more consistently int64 for page numbers in SLRU-related code 2024-07-23 17:59:20 +09:00
archive Fix memory leaks in error reporting with LOG level 2024-05-14 10:41:32 +02:00
backup Document restrictions regarding incremental backups and standbys. 2024-07-25 16:09:24 -04:00
bootstrap Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
catalog Reset relhassubclass upon attaching table as a partition 2024-07-24 12:38:18 +02:00
commands Use more consistently int64 for page numbers in SLRU-related code 2024-07-23 17:59:20 +09:00
executor SQL/JSON: Remove useless code in ExecInitJsonExpr() 2024-07-26 16:37:59 +09:00
foreign Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
jit Move resowner from common JitContext to LLVM specific 2024-07-19 10:27:54 +03:00
lib Revert: Implement pg_wal_replay_wait() stored procedure 2024-04-11 17:28:15 +03:00
libpq Disable all TLS session tickets 2024-07-26 11:09:45 +02:00
main Tighten check for --forkchild argument when spawning child process 2024-07-03 16:20:56 +03:00
nodes Adapt REL_17_STABLE to its new status as a stable branch 2024-07-01 08:05:35 +09:00
optimizer Fix possible Assert failure in cost_memoize_rescan 2024-06-19 10:20:24 +12:00
parser SQL/JSON: Rethink c2d93c3802 2024-07-17 17:13:48 +09:00
partitioning Fix creation of partition descriptor during concurrent detach 2024-06-11 11:38:45 +02:00
po Translation updates 2024-06-24 13:11:27 +02:00
port Revise GUC names quoting in messages again 2024-05-17 11:44:26 +02:00
postmaster Allow WAL summarization to back up when timeline changes. 2024-07-26 09:59:39 -04:00
regex Support C.UTF-8 locale in the new builtin collation provider. 2024-03-19 15:24:41 -07:00
replication Use PqMsg_* macros in more places. 2024-07-17 10:51:00 -05:00
rewrite Correctly check updatability of columns targeted by INSERT...DEFAULT. 2024-07-20 13:40:15 -04:00
snowball Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
statistics Fix typos and duplicate words 2024-04-18 21:28:07 +02:00
storage Use more consistently int64 for page numbers in SLRU-related code 2024-07-23 17:59:20 +09:00
tcop Use PqMsg_* macros in more places. 2024-07-17 10:51:00 -05:00
tsearch Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
utils Fix using injection points at backend startup in EXEC_BACKEND mode 2024-07-26 15:12:12 +03:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Fix make build on MinGW 2024-06-21 08:17:23 +02:00
meson.build meson: Fix import library name in Windows 2024-06-20 09:08:36 +02:00
nls.mk Add missing gettext triggers 2024-05-14 12:57:22 +02:00