=== Applying patches on top of PostgreSQL commit ID e032e4c7ddd0e1f7865b246ec18944365d4f8614 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./0001-XXX-add-perf-test.patch patching file src/test/modules/test_misc/meson.build patching file src/test/modules/test_misc/t/000_csn_perf.pl [cf/4912 370a9ea4a0] XXX: add perf test Author: Heikki Linnakangas Date: Mon Oct 21 14:07:38 2024 +0300 2 files changed, 338 insertions(+) create mode 100644 src/test/modules/test_misc/t/000_csn_perf.pl === applying patch ./0002-Use-CSN-snapshots-during-Hot-Standby.patch patching file contrib/pg_visibility/pg_visibility.c patching file src/backend/access/rmgrdesc/xactdesc.c patching file src/backend/access/transam/Makefile patching file src/backend/access/transam/csn_log.c patching file src/backend/access/transam/meson.build patching file src/backend/access/transam/transam.c patching file src/backend/access/transam/twophase.c Hunk #2 succeeded at 1960 (offset -1 lines). Hunk #3 succeeded at 1994 (offset -1 lines). patching file src/backend/access/transam/varsup.c patching file src/backend/access/transam/xact.c Hunk #2 succeeded at 210 (offset -1 lines). Hunk #3 succeeded at 249 (offset -1 lines). Hunk #4 succeeded at 524 (offset -1 lines). Hunk #5 succeeded at 616 (offset -1 lines). Hunk #6 succeeded at 659 (offset -1 lines). Hunk #7 succeeded at 694 (offset -1 lines). Hunk #8 succeeded at 1393 (offset -1 lines). Hunk #9 succeeded at 1865 (offset -1 lines). Hunk #10 succeeded at 2047 (offset -1 lines). Hunk #11 succeeded at 6042 (offset -19 lines). Hunk #12 succeeded at 6062 (offset -19 lines). Hunk #13 succeeded at 6080 (offset -19 lines). Hunk #14 succeeded at 6188 (offset -19 lines). Hunk #15 succeeded at 6206 (offset -19 lines). Hunk #16 succeeded at 6322 (offset -19 lines). patching file src/backend/access/transam/xlog.c Hunk #2 succeeded at 952 (offset -1 lines). Hunk #3 succeeded at 5181 (offset 5 lines). Hunk #4 succeeded at 5783 (offset 5 lines). Hunk #5 succeeded at 5807 (offset 5 lines). Hunk #6 succeeded at 5901 (offset 5 lines). Hunk #7 succeeded at 6067 (offset 5 lines). Hunk #8 succeeded at 6164 (offset -1 lines). Hunk #9 succeeded at 6941 (offset -1 lines). Hunk #10 succeeded at 7333 (offset -1 lines). Hunk #11 succeeded at 7509 (offset -1 lines). Hunk #12 succeeded at 7806 (offset -1 lines). Hunk #13 succeeded at 8294 (offset -1 lines). Hunk #14 succeeded at 8368 (offset -1 lines). patching file src/backend/access/transam/xlogrecovery.c Hunk #1 succeeded at 1975 (offset -11 lines). Hunk #2 succeeded at 2254 (offset -11 lines). Hunk #3 succeeded at 3699 (offset -11 lines). Hunk #4 succeeded at 3964 (offset -11 lines). patching file src/backend/access/transam/xlogutils.c patching file src/backend/postmaster/startup.c patching file src/backend/replication/logical/decode.c patching file src/backend/replication/logical/snapbuild.c patching file src/backend/storage/ipc/ipci.c Hunk #2 succeeded at 122 (offset -1 lines). Hunk #3 succeeded at 287 (offset -2 lines). patching file src/backend/storage/ipc/procarray.c patching file src/backend/storage/ipc/standby.c patching file src/backend/storage/lmgr/lwlock.c patching file src/backend/utils/activity/wait_event_names.txt Hunk #1 succeeded at 357 (offset -2 lines). patching file src/backend/utils/probes.d patching file src/backend/utils/time/snapmgr.c patching file src/bin/initdb/initdb.c patching file src/include/access/csn_log.h patching file src/include/access/transam.h patching file src/include/access/twophase.h patching file src/include/access/xact.h patching file src/include/access/xlogutils.h patching file src/include/storage/lwlock.h patching file src/include/storage/procarray.h patching file src/include/utils/snapshot.h [cf/4912 b00324a734] Use CSN snapshots during Hot Standby Author: Heikki Linnakangas Date: Tue Aug 13 20:26:40 2024 +0300 31 files changed, 821 insertions(+), 1768 deletions(-) create mode 100644 src/backend/access/transam/csn_log.c create mode 100644 src/include/access/csn_log.h === applying patch ./0003-Make-SnapBuildWaitSnapshot-work-without-xl_running_x.patch patching file src/backend/replication/logical/snapbuild.c [cf/4912 db21d62540] Make SnapBuildWaitSnapshot work without xl_running_xacts.xids array Author: Heikki Linnakangas Date: Tue Aug 13 20:01:07 2024 +0300 1 file changed, 34 insertions(+), 16 deletions(-) === applying patch ./0004-Remove-the-now-unused-xids-array-from-xl_running_xac.patch patching file src/backend/access/rmgrdesc/standbydesc.c patching file src/backend/replication/logical/snapbuild.c patching file src/backend/storage/ipc/standby.c patching file src/include/storage/standby.h patching file src/include/storage/standbydefs.h [cf/4912 5b3909c040] Remove the now-unused xids array from xl_running_xacts Author: Heikki Linnakangas Date: Tue Aug 13 16:40:57 2024 +0300 5 files changed, 21 insertions(+), 55 deletions(-) === applying patch ./0005-Add-a-cache-to-Snapshot-to-avoid-repeated-CSN-lookup.patch patching file src/backend/utils/time/snapmgr.c patching file src/include/utils/snapshot.h [cf/4912 ea8332e473] Add a cache to Snapshot to avoid repeated CSN lookups Author: Heikki Linnakangas Date: Tue Oct 29 15:54:13 2024 +0200 2 files changed, 86 insertions(+), 6 deletions(-)