agora inbox for [email protected]help / color / mirror / Atom feed
pgsql: Simplify handling of the timezone GUC by making initdb choose th 969+ messages / 3 participants [nested] [flat]
* pgsql: Simplify handling of the timezone GUC by making initdb choose th @ 2011-09-09 21:59 Tom Lane <[email protected]> 0 siblings, 1 reply; 969+ messages in thread From: Tom Lane @ 2011-09-09 21:59 UTC (permalink / raw) To: [email protected] Simplify handling of the timezone GUC by making initdb choose the default. We were doing some amazingly complicated things in order to avoid running the very expensive identify_system_timezone() procedure during GUC initialization. But there is an obvious fix for that, which is to do it once during initdb and have initdb install the system-specific default into postgresql.conf, as it already does for most other GUC variables that need system-environment-dependent defaults. This means that the timezone (and log_timezone) settings no longer have any magic behavior in the server. Per discussion. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ca4af308c32d03db5fbacb54d6e583ceb904f268 Modified Files -------------- doc/src/sgml/config.sgml | 14 +- doc/src/sgml/datatype.sgml | 21 +- doc/src/sgml/ref/set.sgml | 4 +- src/backend/bootstrap/bootstrap.c | 4 - src/backend/commands/variable.c | 43 +- src/backend/postmaster/postmaster.c | 15 - src/backend/tcop/postgres.c | 4 - src/backend/utils/error/elog.c | 29 +- src/backend/utils/misc/guc-file.l | 1 - src/backend/utils/misc/guc.c | 21 +- src/backend/utils/misc/postgresql.conf.sample | 4 +- src/bin/initdb/.gitignore | 1 + src/bin/initdb/Makefile | 11 +- src/bin/initdb/findtimezone.c | 1224 ++++++++++++++++++++++++ src/bin/initdb/initdb.c | 25 +- src/include/pgtime.h | 23 +- src/include/utils/guc.h | 2 - src/timezone/localtime.c | 28 + src/timezone/pgtz.c | 1265 +------------------------ 19 files changed, 1372 insertions(+), 1367 deletions(-) ^ permalink raw reply [nested|flat] 969+ messages in thread
* nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC) @ 2011-09-10 01:31 Alvaro Herrera <[email protected]> parent: Tom Lane <[email protected]> 0 siblings, 1 reply; 969+ messages in thread From: Alvaro Herrera @ 2011-09-10 01:31 UTC (permalink / raw) To: Tom Lane <[email protected]>; +Cc: pgsql-hackers Excerpts from Tom Lane's message of vie sep 09 18:59:45 -0300 2011: > Simplify handling of the timezone GUC by making initdb choose the default. > > We were doing some amazingly complicated things in order to avoid running > the very expensive identify_system_timezone() procedure during GUC > initialization. But there is an obvious fix for that, which is to do it > once during initdb and have initdb install the system-specific default into > postgresql.conf, as it already does for most other GUC variables that need > system-environment-dependent defaults. This means that the timezone (and > log_timezone) settings no longer have any magic behavior in the server. > Per discussion. Hmm, I was hoping that this might open the door for setting a nonempty default log_line_prefix, but apparently not :-( Seems setup_formatted_start_time is still expecting that GUC initialization would be called before we do anything with it. Pity ... -- Álvaro Herrera <[email protected]> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support ^ permalink raw reply [nested|flat] 969+ messages in thread
* Re: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC) @ 2011-09-10 02:42 Tom Lane <[email protected]> parent: Alvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Tom Lane @ 2011-09-10 02:42 UTC (permalink / raw) To: Alvaro Herrera <[email protected]>; +Cc: pgsql-hackers Alvaro Herrera <[email protected]> writes: > Excerpts from Tom Lane's message of vie sep 09 18:59:45 -0300 2011: >> Simplify handling of the timezone GUC by making initdb choose the default. > Hmm, I was hoping that this might open the door for setting a nonempty > default log_line_prefix, but apparently not :-( Seems > setup_formatted_start_time is still expecting that GUC initialization > would be called before we do anything with it. Pity ... I think it actually would work now, you'd just have to accept that any log messages that come out during GUC initialization might appear in GMT. I didn't really experiment with that angle of it --- feel free. But having said that, I'm not sure that there's a consensus for changing the default log_line_prefix. regards, tom lane ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding @ 2026-03-12 15:05 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 969+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw) --- src/backend/commands/cluster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index da4919e497a..db3980b84f5 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd, static bool repack_is_permitted_for_relation(RepackCommand cmd, Oid relid, Oid userid); -static LogicalDecodingContext *setup_logical_decoding(Oid relid); +static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid); static bool decode_concurrent_changes(LogicalDecodingContext *ctx, DecodingWorkerShared *shared); static void apply_concurrent_changes(BufFile *file, ChangeDest *dest); @@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid, { /* * Make sure we have no XID assigned, otherwise call of - * setup_logical_decoding() can cause a deadlock. + * repack_setup_logical_decoding() can cause a deadlock. * * The existence of transaction block actually does not imply that XID * was already assigned, but it very likely is. We might want to check @@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf) * crash by restarting all the work from scratch). */ static LogicalDecodingContext * -setup_logical_decoding(Oid relid) +repack_setup_logical_decoding(Oid relid) { Relation rel; Oid toastrelid; @@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg) /* * Prepare to capture the concurrent data changes ourselves. */ - decoding_ctx = setup_logical_decoding(shared->relid); + decoding_ctx = repack_setup_logical_decoding(shared->relid); /* Announce that we're ready. */ SpinLockAcquire(&shared->mutex); -- 2.47.3 --pnppmxqkefjd4hu2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-remove-excess-parens-around-ereport.nocfbot.txt" ^ permalink raw reply [nested|flat] 969+ messages in thread
end of thread, other threads:[~2026-03-12 15:05 UTC | newest] Thread overview: 969+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2011-09-09 21:59 pgsql: Simplify handling of the timezone GUC by making initdb choose th Tom Lane <[email protected]> 2011-09-10 01:31 ` nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC) Alvaro Herrera <[email protected]> 2011-09-10 02:42 ` Re: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC) Tom Lane <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]> 2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox