=== Applying patches on top of PostgreSQL commit ID 6f3820f37aba94232468365bae7ba5de697fe993 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v06-0001-Adjust-signature-of-cluster_rel-and-its-subroutines.patch patching file src/backend/commands/cluster.c patching file src/backend/commands/vacuum.c patching file src/include/commands/cluster.h [cf/5117 54c8c46eb1] Adjust signature of cluster_rel() and its subroutines. Author: Antonin Houska Date: Wed Dec 11 19:22:41 2024 +0100 3 files changed, 70 insertions(+), 71 deletions(-) === applying patch ./v06-0002-Move-progress-related-fields-from-PgBackendStatus-to.patch patching file src/backend/utils/activity/backend_progress.c patching file src/backend/utils/activity/backend_status.c patching file src/backend/utils/adt/pgstatfuncs.c patching file src/include/utils/backend_progress.h patching file src/include/utils/backend_status.h [cf/5117 e67993b85e] Move progress related fields from PgBackendStatus to PgBackendProgress. Author: Antonin Houska Date: Wed Dec 11 19:22:41 2024 +0100 5 files changed, 30 insertions(+), 26 deletions(-) === applying patch ./v06-0003-Move-conversion-of-a-historic-to-MVCC-snapshot-to-a-.patch patching file src/backend/replication/logical/snapbuild.c patching file src/backend/utils/time/snapmgr.c Hunk #2 succeeded at 531 (offset -4 lines). patching file src/include/replication/snapbuild.h patching file src/include/utils/snapmgr.h Hunk #1 succeeded at 60 (offset -1 lines). [cf/5117 8d77835220] Move conversion of a "historic" to MVCC snapshot to a separate function. Author: Antonin Houska Date: Wed Dec 11 19:22:41 2024 +0100 4 files changed, 45 insertions(+), 11 deletions(-) === applying patch ./v06-0004-Add-CONCURRENTLY-option-to-both-VACUUM-FULL-and-CLUS.patch patching file doc/src/sgml/monitoring.sgml Hunk #1 succeeded at 5727 (offset 39 lines). Hunk #2 succeeded at 5836 (offset 39 lines). patching file doc/src/sgml/ref/cluster.sgml patching file doc/src/sgml/ref/vacuum.sgml patching file src/Makefile patching file src/backend/access/heap/heapam.c Hunk #1 succeeded at 2073 (offset 3 lines). patching file src/backend/access/heap/heapam_handler.c Hunk #14 succeeded at 2683 (offset -3 lines). patching file src/backend/access/heap/heapam_visibility.c patching file src/backend/catalog/index.c Hunk #1 succeeded at 1417 (offset 1 line). Hunk #2 succeeded at 1456 (offset 1 line). patching file src/backend/catalog/system_views.sql patching file src/backend/commands/cluster.c patching file src/backend/commands/matview.c patching file src/backend/commands/tablecmds.c Hunk #1 succeeded at 4484 (offset 4 lines). Hunk #2 succeeded at 5923 (offset 4 lines). patching file src/backend/commands/vacuum.c patching file src/backend/meson.build patching file src/backend/replication/logical/decode.c patching file src/backend/replication/logical/snapbuild.c patching file src/backend/replication/pgoutput_cluster/Makefile patching file src/backend/replication/pgoutput_cluster/meson.build patching file src/backend/replication/pgoutput_cluster/pgoutput_cluster.c patching file src/backend/storage/ipc/ipci.c patching file src/backend/tcop/utility.c patching file src/backend/utils/activity/backend_progress.c patching file src/backend/utils/activity/wait_event_names.txt patching file src/backend/utils/cache/inval.c patching file src/backend/utils/cache/relcache.c Hunk #2 succeeded at 1247 (offset -12 lines). patching file src/backend/utils/time/snapmgr.c Hunk #2 succeeded at 586 (offset -4 lines). patching file src/bin/psql/tab-complete.in.c Hunk #1 succeeded at 3119 (offset 15 lines). Hunk #2 succeeded at 5133 (offset 30 lines). patching file src/include/access/heapam.h patching file src/include/access/tableam.h Hunk #3 succeeded at 1675 (offset -4 lines). Hunk #4 succeeded at 1691 (offset -4 lines). Hunk #5 succeeded at 1701 (offset -4 lines). patching file src/include/catalog/index.h patching file src/include/commands/cluster.h patching file src/include/commands/progress.h patching file src/include/commands/vacuum.h patching file src/include/replication/snapbuild.h patching file src/include/storage/lockdefs.h patching file src/include/storage/lwlocklist.h patching file src/include/utils/backend_progress.h patching file src/include/utils/inval.h patching file src/include/utils/rel.h patching file src/include/utils/snapmgr.h Hunk #1 succeeded at 61 (offset -1 lines). patching file src/test/regress/expected/rules.out [cf/5117 052f421122] Add CONCURRENTLY option to both VACUUM FULL and CLUSTER commands. Author: Antonin Houska Date: Wed Dec 11 19:22:42 2024 +0100 41 files changed, 3563 insertions(+), 198 deletions(-) create mode 100644 src/backend/replication/pgoutput_cluster/Makefile create mode 100644 src/backend/replication/pgoutput_cluster/meson.build create mode 100644 src/backend/replication/pgoutput_cluster/pgoutput_cluster.c === applying patch ./v06-0005-Preserve-visibility-information-of-the-concurrent-da.patch patching file src/backend/access/common/toast_internals.c patching file src/backend/access/heap/heapam.c Hunk #2 succeeded at 1970 (offset 3 lines). Hunk #3 succeeded at 1986 (offset 3 lines). Hunk #4 succeeded at 2626 (offset 3 lines). Hunk #5 succeeded at 2684 (offset 3 lines). Hunk #6 succeeded at 2705 (offset 3 lines). Hunk #7 succeeded at 2931 (offset 3 lines). Hunk #8 succeeded at 3000 (offset 3 lines). Hunk #9 succeeded at 3026 (offset 3 lines). Hunk #10 succeeded at 3124 (offset 3 lines). Hunk #11 succeeded at 3167 (offset 3 lines). Hunk #12 succeeded at 3211 (offset 3 lines). Hunk #13 succeeded at 4004 (offset 3 lines). Hunk #14 succeeded at 4019 (offset 3 lines). Hunk #15 succeeded at 4375 (offset 3 lines). Hunk #16 succeeded at 8709 (offset 3 lines). Hunk #17 succeeded at 8721 (offset 3 lines). patching file src/backend/access/heap/heapam_handler.c patching file src/backend/access/transam/xact.c patching file src/backend/commands/cluster.c patching file src/backend/replication/logical/decode.c patching file src/backend/replication/logical/snapbuild.c patching file src/backend/replication/pgoutput_cluster/pgoutput_cluster.c patching file src/include/access/heapam.h patching file src/include/access/heapam_xlog.h patching file src/include/access/xact.h patching file src/include/commands/cluster.h patching file src/include/utils/snapshot.h [cf/5117 5001ec3081] Preserve visibility information of the concurrent data changes. Author: Antonin Houska Date: Wed Dec 11 19:22:42 2024 +0100 13 files changed, 389 insertions(+), 70 deletions(-) === applying patch ./v06-0006-Add-regression-tests.patch patching file src/backend/commands/cluster.c patching file src/test/modules/injection_points/Makefile patching file src/test/modules/injection_points/expected/cluster.out patching file src/test/modules/injection_points/logical.conf patching file src/test/modules/injection_points/meson.build patching file src/test/modules/injection_points/specs/cluster.spec [cf/5117 78e966d7e8] Add regression tests. Author: Antonin Houska Date: Wed Dec 11 19:22:42 2024 +0100 6 files changed, 266 insertions(+), 1 deletion(-) create mode 100644 src/test/modules/injection_points/expected/cluster.out create mode 100644 src/test/modules/injection_points/logical.conf create mode 100644 src/test/modules/injection_points/specs/cluster.spec === applying patch ./v06-0007-Introduce-cluster_max_xlock_time-configuration-varia.patch patching file doc/src/sgml/config.sgml Hunk #1 succeeded at 10640 (offset 2 lines). patching file doc/src/sgml/ref/cluster.sgml patching file src/backend/access/heap/heapam_handler.c patching file src/backend/commands/cluster.c patching file src/backend/utils/misc/guc_tables.c patching file src/backend/utils/misc/postgresql.conf.sample patching file src/include/commands/cluster.h patching file src/test/modules/injection_points/expected/cluster.out patching file src/test/modules/injection_points/specs/cluster.spec [cf/5117 e74f2b4250] Introduce cluster_max_xlock_time configuration variable. Author: Antonin Houska Date: Wed Dec 11 19:22:42 2024 +0100 9 files changed, 293 insertions(+), 20 deletions(-) === applying patch ./v06-0008-Call-logical_rewrite_heap_tuple-when-applying-concur.patch patching file src/backend/access/heap/heapam_handler.c patching file src/backend/access/heap/rewriteheap.c patching file src/backend/commands/cluster.c patching file src/backend/replication/logical/decode.c patching file src/backend/replication/pgoutput_cluster/pgoutput_cluster.c patching file src/include/access/rewriteheap.h patching file src/include/commands/cluster.h patching file src/include/replication/reorderbuffer.h [cf/5117 b99fffc632] Call logical_rewrite_heap_tuple() when applying concurrent data changes. Author: Antonin Houska Date: Wed Dec 11 19:22:42 2024 +0100 8 files changed, 194 insertions(+), 60 deletions(-)