agora inbox for [email protected]
help / color / mirror / Atom feedBy Passed Domain Constraints
972+ messages / 4 participants
[nested] [flat]
* By Passed Domain Constraints
@ 2005-07-06 13:49 Robert Perry <[email protected]>
2005-07-06 14:35 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
0 siblings, 1 reply; 972+ messages in thread
From: Robert Perry @ 2005-07-06 13:49 UTC (permalink / raw)
To: [email protected]
I have a database in which I used domains with check constraints
to keep all the constraints nice and uniform for like columns across
tables. My users access and update data primarily through function
calls that have parameters that of DOMAIN types.
These constraints work when I call the functions via psql or
from a PHP client. But, my pqlib users seem to be able to get bad
data in. I have not done any real testing yet to track this down,
but have looks through the archives and have not been able to spot
anything. Anybody else seen something like this? Am I missing
something fundamental.
I have noticed that I can cast the bad data to the domain type,
but not to a varchar and then the domain type.
i.e.
Select passcode::D_PASSCODE from
employee_passcode; -- will work
Select passcode::varchar::D_PASSCODE from employee_passcode; --
properly complains --> ERROR: value for domain d_passcode violates
check constraint "d_passcode_check"
It looks like the data is not checked when passed to the
function and from their on out since it is already the correct type
it is not checked again. Has anyone else seen something like this?
I am using 8.0.1. On the pqlib side we are calling PQexecParams
and using NULL for param types for the function calls in question.
^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: By Passed Domain Constraints
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
@ 2005-07-06 14:35 ` Tom Lane <[email protected]>
2005-07-06 15:43 ` Re: By Passed Domain Constraints Robert Perry <[email protected]>
0 siblings, 1 reply; 972+ messages in thread
From: Tom Lane @ 2005-07-06 14:35 UTC (permalink / raw)
To: Robert Perry <[email protected]>; +Cc: [email protected]; Bruce Momjian <[email protected]>
Robert Perry <[email protected]> writes:
> It looks like the data is not checked when passed to the
> function and from their on out since it is already the correct type
> it is not checked again. Has anyone else seen something like this?
IIRC, plpgsql does not know anything about domains and does not enforce
domain constraints when assigning to local variables or the function
result. The same is true of the other PLs, though I think it could only
matter for the function result in those cases (internal variables aren't
of SQL types anyway for them). You could probably work around this by
writing explicit casts to the domain inside the function, eg
"RETURN x::domain" not just "RETURN x".
I thought the unfinished work for domains was mentioned on the TODO list
but I don't see anything about it right now.
regards, tom lane
^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: By Passed Domain Constraints
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 14:35 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
@ 2005-07-06 15:43 ` Robert Perry <[email protected]>
2005-07-06 16:05 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
0 siblings, 1 reply; 972+ messages in thread
From: Robert Perry @ 2005-07-06 15:43 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: [email protected]
I'm sorry Tom, but I am not certain that I understand how this
known problem applies to my problem.
select * from employee_passcode_update('system',100000, 'DOGGY');
ERROR: value for domain d_passcode violates check constraint
"d_passcode_check"
I call the same function from pqlib using PQexecParams and the
next thing I know.
select * from employee_passcode where id = 100000;
id | passcode | mod_user | timestamp
--------+----------+----------+-------------------------------
100000 | DOGGY | system | 2005-07-06 11:37:09.926907-04
Where
\df employee_passcode_update
List of functions
Schema | Name | Result data type |
Argument data types
--------+--------------------------+------------------
+----------------------------------------
public | employee_passcode_update | d_employee_id | d_user_name,
d_employee_id, d_passcode
and
\d employee_passcode
Table "public.employee_passcode"
Column | Type | Modifiers
-----------+---------------+-----------
id | d_employee_id | not null
passcode | d_passcode |
mod_user | d_user_name |
timestamp | d_timestamp |
Indexes:
"employee_passcode_pkey" PRIMARY KEY, btree (id)
Foreign-key constraints:
"employee_passcode_mod_user_fkey" FOREIGN KEY (mod_user)
REFERENCES employee(user_name)
The same plpgsql function is being called each time.
Additionally, I believe that the same checks work from php.
However, if I cast the D_PASSCODE to a varchar and back in the
function implementation I do get the expected exception when called
from PQexecParams. Which is good. It means I have a work around,
though I really do not want to updated hundreds of functions to do
this. (I suspect that this will be my short term solution) Just
casting to a D_PASSCODE does nothing. I am guessing this is because
p_passcode, my function parameter in question, is already a D_PASSCODE.
I have also been bitten by the problem you are describing. But,
that one is a problem even when called from psql if I am not
mistaken. Does psql not use pqlib? Perhaps it is something about
PQexecParams that is the problem. I will test in a little while.
Thanks for you help
Robert Perry
On Jul 6, 2005, at 10:35 AM, Tom Lane wrote:
> Robert Perry <[email protected]> writes:
>
>> It looks like the data is not checked when passed to the
>> function and from their on out since it is already the correct type
>> it is not checked again. Has anyone else seen something like this?
>>
>
> IIRC, plpgsql does not know anything about domains and does not
> enforce
> domain constraints when assigning to local variables or the function
> result. The same is true of the other PLs, though I think it could
> only
> matter for the function result in those cases (internal variables
> aren't
> of SQL types anyway for them). You could probably work around this by
> writing explicit casts to the domain inside the function, eg
> "RETURN x::domain" not just "RETURN x".
>
> I thought the unfinished work for domains was mentioned on the TODO
> list
> but I don't see anything about it right now.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to
> [email protected])
>
^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: By Passed Domain Constraints
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 14:35 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
2005-07-06 15:43 ` Re: By Passed Domain Constraints Robert Perry <[email protected]>
@ 2005-07-06 16:05 ` Tom Lane <[email protected]>
2005-07-06 17:36 ` Re: By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-07 01:23 ` Re: [HACKERS] By Passed Domain Constraints Christopher Kings-Lynne <[email protected]>
0 siblings, 2 replies; 972+ messages in thread
From: Tom Lane @ 2005-07-06 16:05 UTC (permalink / raw)
To: Robert Perry <[email protected]>; +Cc: [email protected]; pgsql-hackers
Robert Perry <[email protected]> writes:
> I have also been bitten by the problem you are describing. But,
> that one is a problem even when called from psql if I am not
> mistaken. Does psql not use pqlib? Perhaps it is something about
> PQexecParams that is the problem. I will test in a little while.
[ thinks about it... ] If you've declared the function input parameter
as a domain type and then write a parameterized query like
... function($1) ...
and don't specify any particular datatype for the parameter symbol,
I think the backend will infer the domain type as the parameter type.
Which would also allow bypassing the domain checks.
You could work around this by explicitly specifying the parameter
type as text or varchar or whatever the domain's base type is.
I wonder though if we oughtn't change the backend so that the inferred
type of a parameter symbol is never a domain, but the domain's base
type. That would force the proper application of CoerceToDomain inside
the constructed query parsetree.
regards, tom lane
^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: By Passed Domain Constraints
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 14:35 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
2005-07-06 15:43 ` Re: By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 16:05 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
@ 2005-07-06 17:36 ` Robert Perry <[email protected]>
1 sibling, 0 replies; 972+ messages in thread
From: Robert Perry @ 2005-07-06 17:36 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: [email protected]; pgsql-hackers
Tom
Thank you very much. This sounds like my problem exactly. I
personally, feel that the change you have described is the right way
to go for PostgreSQL. But, since the thing that I expected to work
does not and would with your suggested change I guess that my opinion
is pretty predictable.
B.T.W. Using PQexec instead of PQexecParams also solves my
problem. But, that is not a surprise either given your assessment of
the problem. Since all of the C++ code in my project ends up calling
a single function that calls PQexecParams (this was done to
centralize the conversion of PostgreSQL exceptions to out own
internal exception classes) I think it is going to be easier for us
to make this function dynamically build a non parameterized query.
But, I still appreciate your advice on a work around and I am holding
it as my plan B.
Thanks again
Robert Perry
On Jul 6, 2005, at 12:05 PM, Tom Lane wrote:
> Robert Perry <[email protected]> writes:
>
>> I have also been bitten by the problem you are describing. But,
>> that one is a problem even when called from psql if I am not
>> mistaken. Does psql not use pqlib? Perhaps it is something about
>> PQexecParams that is the problem. I will test in a little while.
>>
>
> [ thinks about it... ] If you've declared the function input
> parameter
> as a domain type and then write a parameterized query like
> ... function($1) ...
> and don't specify any particular datatype for the parameter symbol,
> I think the backend will infer the domain type as the parameter type.
> Which would also allow bypassing the domain checks.
>
> You could work around this by explicitly specifying the parameter
> type as text or varchar or whatever the domain's base type is.
> I wonder though if we oughtn't change the backend so that the inferred
> type of a parameter symbol is never a domain, but the domain's base
> type. That would force the proper application of CoerceToDomain
> inside
> the constructed query parsetree.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to [email protected] so that
> your
> message can get through to the mailing list cleanly
>
^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: [HACKERS] By Passed Domain Constraints
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 14:35 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
2005-07-06 15:43 ` Re: By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 16:05 ` Re: By Passed Domain Constraints Tom Lane <[email protected]>
@ 2005-07-07 01:23 ` Christopher Kings-Lynne <[email protected]>
1 sibling, 0 replies; 972+ messages in thread
From: Christopher Kings-Lynne @ 2005-07-07 01:23 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Robert Perry <[email protected]>; [email protected]; pgsql-hackers
> You could work around this by explicitly specifying the parameter
> type as text or varchar or whatever the domain's base type is.
> I wonder though if we oughtn't change the backend so that the inferred
> type of a parameter symbol is never a domain, but the domain's base
> type. That would force the proper application of CoerceToDomain inside
> the constructed query parsetree.
Remember we have similar weirdness when returning domain types from
stored procs :(
Chris
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 972+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 972+ messages in thread
end of thread, other threads:[~2026-03-12 15:05 UTC | newest]
Thread overview: 972+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-06 13:49 By Passed Domain Constraints Robert Perry <[email protected]>
2005-07-06 14:35 ` Tom Lane <[email protected]>
2005-07-06 15:43 ` Robert Perry <[email protected]>
2005-07-06 16:05 ` Tom Lane <[email protected]>
2005-07-06 17:36 ` Robert Perry <[email protected]>
2005-07-07 01:23 ` Christopher Kings-Lynne <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro 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